After upgrading Xcode to 4.5, Restkit 10.0 project does not compile for iOS 5.1 device

Just upgraded to Xcode 4.5. It turned out that after receiving errors in my application in simulator 6.0, I had to restart simulator 5.1. Hooray, it worked! but....

When I went and tried to run against my iPad1 with iOS 5.1.1, I get a whole bunch of restkit compilations.

Receive: "Linker command failed with exit code 1"

Do I need to upgrade to Resktit 10.3? I don't see anything in github history regarding Xcode 4.5 fixes ...

Thanks!

+4
source share
1 answer

OK, just noticed the following warning:

ignoring file /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a, file was built for archive which is not the architecture being linked (armv7s): /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a 

so I went to the Restkit target and changed the architecture to

 Standard (armv7, armv7s) 

and voila!

Leaving this question and answer here, because I do not see the exact equivalent here, and it may be useful to others,

Greetings.

+8
source

Source: https://habr.com/ru/post/925283/


All Articles