Build fails after upgrading to Appcode 2.5 (still builds in xcode)

Hi,

After upgrading to appcode 2.5, I can no longer get my app to build (However it still builds fine in xcode). The build log shows that it's not able to find several common libraries.

"ld: in '/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libobjc.A.dylib', missing required architecture armv7 in file /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libobjc.A.dylib (4 slices) for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

It seems like it is not looking in the right place for the libs (or just using the wrong version/type). Is there some project setting that I need to update?

- I have verfied the xcode version in Appcode->Preferences
- Done a clean and a clean build folder
- Made sure I have the latest xcode

Thanks

0
4 comments
Avatar
Permanently deleted user

Looks like OS X SDK is used to build iOS project. Please check "Base SDK" and "Architectures" settings of your project both in Xcode and AppCode and tell us if their values differ.

0
Avatar
Permanently deleted user

They appear to be the same.

Xcode:
Screen Shot 2013-10-15 at 1.19.24 PM.png

Appcode:

Screen Shot 2013-10-15 at 1.19.40 PM.png

0
Avatar
Permanently deleted user

Looks OK so far. May I ask you to send us .xcodeproj folder from your project to appcode-support@jetbrains.com? It will be much faster this way.

0
Avatar
Permanently deleted user

Thanks Dmitry! I have sent our project file to that alias.

0

Please sign in to leave a comment.