I've downloaded Chipmunk, did tar xvf into my Applications directory, ran it through Cmake, launched Xcode and opened it...
It only compiles for My Mac 64 or 32 bit. There are no options for compiling it for iPhone.
What have I missed?
Also, if I'm planning on using it for multiple iPhone projects, are there setup steps that must be taken each time or do I only have to do the setup once?
Thanks in advance!
Installation Issues
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Installation Issues
You don't need to run CMake if you are using the Xcode project, and it doesn't help you with iPhone anyway. The Xcode project doesn't have an iPhone specific target. There is a script named iphonestatic.command in the macosx/ directory, run that to create a static library and a folder full of headers you can drop into your project. The readme has more info.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 6
- Joined: Fri Dec 16, 2011 11:40 am
- Contact:
Re: Installation Issues
When I run the ./iphonestatic.command inside the macosx directory it complains:
xcodebuild: error: SDK "iphoneos4.3" cannot be located.
xcodebuild: error: SDK "iphoneos4.3" cannot be located.
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Installation Issues
Do you have the 4.3 SDK installed? If not, change it to whatever the latest version you have installed is. Unfortunately from command line builds it's not simple to figure out what the latest iOS SDK installed is so I just set it to whatever the latest SDK at the time is.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 6
- Joined: Fri Dec 16, 2011 11:40 am
- Contact:
Re: Installation Issues
It looks like I have 5.0 SDK. I only recently bought the computer, so it's the latest of everything.
You mention "change it to ... the latest version" ... where do I do this?
Presumably I try running the ./iphonestatic.command once I've changed it...
Thanks again.
You mention "change it to ... the latest version" ... where do I do this?
Presumably I try running the ./iphonestatic.command once I've changed it...
Thanks again.
-
- Posts: 6
- Joined: Fri Dec 16, 2011 11:40 am
- Contact:
Re: Installation Issues
I think you meant "edit the file called iphonestatic.command in a text editor, make the change from 4.2 to 5.0" then run the command...
That seems to have worked.
** Build Succeeded **
That seems to have worked.
** Build Succeeded **
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Installation Issues
Yes, the SDK is set in the iphonestatic.command script.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 12 guests