Closed GoogleCodeExporter closed 8 years ago
I had a little trouble with this too - from
http://code.google.com/p/vvopensource/
How to use VVOSC in your iPhone application
To the best of my knowledge, Apple doesn't allow you to use external libraries
in iPhone apps, so the workaround is to compile VVOSC as a static library,
install it on your dev machine as an SDK, and compile against it. This entire
process has been automated: here's all you need to do:
Open the VVOpenSource project in XCode
In XCode, make "Build/Install VVOSC iPhone SDK" your active target. Make sure
the build mode is set to "Release", and build the target. Each of the static
libraries (iPhone, iPhone sim, and OS X) executes a shellscript which installs
it as an SDK in ~/Library/SDKs/VVOSC.
When it's done building, quit XCode, and then open your application's XCode
project.
Double-click your application/target in the left-hand list in your project
window (or select it and get its info). Click on the "Build" tab.
Find the "Additional SDKs" option, and add
"$HOME/Library/SDKs/VVOSC/$(PLATFORM_NAME).sdk"
Still in the "Additional SDKs" option, add
"$HOME/Library/SDKs/VVBasics/$(PLATFORM_NAME).sdk"
Find the "Other Linker Flags" option, and add "-ObjC -lVVOSC -lVVBasics"
That's it- you're done now. You can import/include objects from the VVOSC
framework in your source code as you normally would.
Original comment by doctorha...@gmail.com
on 17 Aug 2011 at 8:30
Original comment by raycut...@gmail.com
on 31 Aug 2011 at 3:54
Original issue reported on code.google.com by
michael....@gmail.com
on 19 Apr 2011 at 5:07