I have an iOS application that i need to upgrade on iOS7. I am using RestKit version 0.10.2. While archiving i get following error.
/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/khawarshahzad/Library/Developer/Xcode/DerivedData/MyAPP-fcvmsuowvnqkdseskmuetssnxoww/Build/Intermediates/ArchiveIntermediates/MyAPP/IntermediateBuildFilesPath/MyAPP.build/Release-iphoneos/MyAPP.build/Objects-normal/armv7s/MyAPP (No such file or directory)
Previously i had fixed this error for iOS6 by following instructions on https://github.com/RestKit/RestKit/issues/930
But now its not working for iOS7. Here is screenshot for current RestKit.xcodeproj Architectures settings.
Any suggestion is appreciated.
Huh! finally found the solution. If you are not using any specific feature of arm64 architecture, then just kick it off.
Go to project -> target (your project name) -> build settings and change architectures to standard architectures (armv7, armv7s), and valid architectures to armv7, armv7s. Set Build Active Architecture Only
to Yes
Repeat same for RestKit.xcodeproj
Clean your project and Archive. Best of Luck :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With