Mac/ iOS mono port

@andybak Starting Mac/iOS port thread
9 Replies
Nick Fox-Gieg
Nick Fox-GiegOP2y ago
GitHub
GitHub - icosa-gallery/open-brush at feature/no-headset-mode
Open Brush is the open source, community led evolution of Tilt Brush! Forked from https://github.com/googlevr/tilt-brush - GitHub - icosa-gallery/open-brush at feature/no-headset-mode
andybak
andybak2y ago
My plan is to first get fixes for MacOS (both Intel and Apple Silicon) ready to merge and then branch off that for iOS. The iOS branch @mikesky has been working on is a good reference but if we're going to merge all this into main then we need to tread very carefully. The main thing we want to revisit from Mike's branch is the removal of GoogleVR audio. There's a better way to do that and we've decided to replace it with ResonanceAudio (which is a direct descendent) Replacing GvrAudio is not needed for MacOS - but replacing CSCore is - it gives errors in the editor on Apple SIlicon so I want to replace that (which is easy because the dll is built from a pure C# repo) So I might do them both at once.
andybak
andybak2y ago
GitHub
GitHub - icosa-gallery/com.icosa.cscore
Contribute to icosa-gallery/com.icosa.cscore development by creating an account on GitHub.
GitHub
GitHub - icosa-gallery/com.icosa.resonanceaudio
Contribute to icosa-gallery/com.icosa.resonanceaudio development by creating an account on GitHub.
andybak
andybak2y ago
OK. Made some progress and got the "no headset" mode running in the editor. I also managed to build for Mac on PC... I still can't build for Mac on Mac though as I'm getting a code signing error.
mikeage
mikeage2y ago
FWIW, in CI, our builds are not signed at all. We also build them on Linux. That's why we need the xattr -d com.apple.quarantine after download
andybak
andybak2y ago
i'm not sure if it's an error signing, trying to sign or just some vestige of the code signing functionality that's causing the build to fail for some other reason
mikeage
mikeage2y ago
I assume it probably skips a lot of that on a not supported platform (i.e., Windows or Linux) which is why you're not seeing issues there LMK if you need Intel Mac testing
andybak
andybak2y ago
will do. for reference my current progress is here: https://github.com/icosa-gallery/open-brush/tree/temp%2Fno-headset-mac
GitHub
GitHub - icosa-gallery/open-brush at temp/no-headset-mac
Open Brush is the open source, community led evolution of Tilt Brush! Forked from https://github.com/googlevr/tilt-brush - GitHub - icosa-gallery/open-brush at temp/no-headset-mac
andybak
andybak2y ago
anyone know a compiler flag that's specific to Apple Silicon? I just did:
+#if USD_SUPPORTED && !PLATFORM_STANDALONE_OSX
+#if USD_SUPPORTED && !PLATFORM_STANDALONE_OSX
to disable USD on M1 builds but that hits intel as well oh - i had to disable fbx as well but I just removed the #FBX_SUPPORTED flag
Want results from more Discord servers?
Add your server