Totally noob question: How to embed this SwiftOSC
enzyme69 opened this issue · 11 comments
I am stuck in actually embedding the SwiftOSC into my iOS project. I copy the whole folder of compiled SwiftOSC, and do an import, but nothing.... No such module 'SwiftOSC'
Tested using this method to import framework, but does not work.
https://stackoverflow.com/questions/3352664/how-to-add-existing-frameworks-in-xcode-4
So we need client and server, my idea is to use the Face AR (iPhone X) to send OSC message from the iPhone into the Mac. Similar to TouchOSC, but actually using Face Camera and tracking my head and facial expression. Maybe the iPhone become a server or client?
Any possible example template?
Thanks beforehand.
Create a new project and link the framework.
Looks like you need to link twice. The first time imports the files and the 2nd time links the framework. No idea why you need to do it twice. Probably missing something simple but that’s what you need to do.
Some test code to make sure things are running.
If everything works properly and you have OSC Monitor open from my macOS examples you should see this.
Make sure you build the Framework first before building the project.
I think I missed a step. Make sure you imbed the framework. I'm uploading a demo iOS app for you to look at.
Thanks Devin, I will follow the step by step and see how it goes. Will update..
Embedding binary step is not clear still. Investigating .... wonder what that "image not found" means.
Thanks Devin looking forward to this. If it works, I will make tutorial about it from scratch. This embed thing is supposedly simple.