Problem building static iPhone libraries
Posted: Fri Feb 24, 2012 11:17 am
This one's an oldy, but everyone seems to be having slightly different problems. I'm trying to build static iPhone libraries from the latest Github revision of chipmunk-physics but the iphone-static.command script in xcode/ fails.
The first error I get is that the iphoneos4.3 SDK doesn't exist, so I changed both SDKs to be version 5.0.
The second error happens in the check dependencies stage when building the iphonesimulator static library (Debug):
[BEROR]No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=i386).
I don't understand how to fix the error, is anyone else experiencing this problem? I'm developing on Mac OSX Lion with Xcode version 4.2.1, Build version 4D502.
I've also tried building from xcode instead of the terminal, but I'm unsure how to switch properly between building Release and Debug libraries for iphoneos and iphonesimulator. I know I could just include the sources in my project and build from there but from what I understand that's not recommended - I'd like to use the static libraries.
The first error I get is that the iphoneos4.3 SDK doesn't exist, so I changed both SDKs to be version 5.0.
The second error happens in the check dependencies stage when building the iphonesimulator static library (Debug):
[BEROR]No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=i386).
I don't understand how to fix the error, is anyone else experiencing this problem? I'm developing on Mac OSX Lion with Xcode version 4.2.1, Build version 4D502.
I've also tried building from xcode instead of the terminal, but I'm unsure how to switch properly between building Release and Debug libraries for iphoneos and iphonesimulator. I know I could just include the sources in my project and build from there but from what I understand that's not recommended - I'd like to use the static libraries.