RestKit - Lipo error: cannot open input file in Xcode5

I have an iOS application that needs to be updated on iOS7. I am using RestKit version 0.10.2. When archiving, I get the 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)

I previously fixed this bug for iOS6 by following the instructions at https://github.com/RestKit/RestKit/issues/930

But now it does not work for iOS7. Here is a screenshot for the current settings of RestKit.xcodeproj Architectures. enter image description here

Any suggestion is appreciated.

+4
source share
3 answers

! , . - arm64, . → target ( ) → (armv7, armv7s) armv7, armv7s. Build Active Architecture Only Yes

enter image description here

RestKit.xcodeproj

enter image description here

. :)

+10

, , restkit . Cocoapods restkit . , . iOS5, iOS7

0

- *.xcodeproj, :

:

(cd $BUILDDIR/i386;  "$SIM_DEV_DIR/ar" crus some.a obj/*.o; )

To:

# have to take ar from ARM_DEV_DIR in xcode 5
(cd $BUILDDIR/i386;  "$ARM_DEV_DIR/ar" crus some.a obj/*.o; )

IOW: In xCode5, armoved from $ SIM_DEV_DIR / ar to $ ARM_DEV_DIR / ar

0
source

All Articles