Mac/ iOS mono port
@andybak Starting Mac/iOS port thread
9 Replies
Working from PC mono https://github.com/icosa-gallery/open-brush/tree/feature%2Fno-headset-mode
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
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.
Initial stab (not tested in OB yet
https://github.com/icosa-gallery/com.icosa.cscore
https://github.com/icosa-gallery/com.icosa.resonanceaudio
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.
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.
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 downloadi'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
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
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
anyone know a compiler flag that's specific to Apple Silicon? I just did:
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