Building for iOS

simed_john
Posts: 2
Joined: Mon Jul 22, 2013 11:33 am

Building for iOS

Post by simed_john »

Hi,

I see from the release notes that iOS support exists in bullet, but from the wiki no mention is made. Does this mean I'm on my own and would need to create a new XCode project from scratch to build bullet as a static iOS library? Or is there a ready-to-use version perhaps, a pre-built framework?

The XCode-OSX guide seemed to suggest you recommend just adding all the bullet sources to your project rather than building them as a library, or did I misunderstand that?

Thankyou - and any advice/tips on bullet-iOS you can offer that you think I am likely to find useful are also very welcome!
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Building for iOS

Post by Erwin Coumans »

You can use premake for iOS from the commandline and generate XCode4 projects:

cd build
./premake_osx --ios xcode4

and open the project in the build/xcode4 folder


Even simpler indeed is just dragging the Bullet/src files in your folder, and add the Bullet/src to your include path.
What is the problem with that?

Thanks,
Erwin
simed_john
Posts: 2
Joined: Mon Jul 22, 2013 11:33 am

Re: Building for iOS

Post by simed_john »

No problem if that's an accepted way; I just never saw a mature library that made things so simple :)

When you suggest adding Bullet/screen to my project, do you mean a separate library project, or directly to my application so bullet is part of my project?

Thanks for the advice.