當我去驗證我的應用程序,我得到的錯誤 executable is missing a required architecture. At least one of the following architectures must be present: armv6
目標C:缺少架構
我使用的Xcode 4.2和iOS5的SDK,並部署到3.2。這在我更新SDK之前從未發生過。
我也越來越多條警告信息來了,當我建立歸檔:
Check dependencies
[WARN]Warning: Multiple build commands for output file/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/charset.alias
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libcurl.la
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libgcrypt.la
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libgpg-error.la
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libsasl2.la
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libssh2.la
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libcrypto.pc
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libssh2.pc
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/libssl.pc
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/openssl.pc
[WARN]Warning: Multiple build commands for output file /Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/zlib.pc
[BWARN]warning: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.2", ARCHS = "armv7").
Ld "/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/Math Buddy" normal armv7
cd "/Volumes/iOS Development/Apps/Math Buddy"
setenv IPHONEOS_DEPLOYMENT_TARGET 3.2
setenv PATH "/Developer-4.2/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer-4.2/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer-4.2/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer-4.2/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos "-L[sdk=iphonesimulator3.2][arch=*]" -L= -L/Volumes/iOS -LDevelopment/Apps/Math -LBuddy/../iPhoneSimulator-3.2/lib "-L[sdk=iphoneos3.2][arch=*]" -L= -L/Volumes/iOS -LDevelopment/Apps/Math -LBuddy/../iPhoneOS-3.2/lib "-L/Volumes/iOS Development/Apps/Math Buddy/iPhoneOS-3.2/lib" "-L/Volumes/iOS Development/Apps/Math Buddy/iPhoneSimulator-3.2/lib" -F/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos -filelist "/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Intermediates/Math Buddy.build/Distribution-iphoneos/Math Buddy.build/Objects-normal/armv7/Math Buddy.LinkFileList" -dead_strip -miphoneos-version-min=3.2 -framework UIKit -framework Foundation -framework CoreGraphics -lcrypto -lcurl -letpan -lgcrypt -lgpg-error -lsasl2 -lssh2 -lssl -lz -lcrypto -lcurl -letpan -lgcrypt -lgpg-error -lsasl2 -lssh2 -lssl -lz -o "/Users/chrismanahan/Library/Developer/Xcode/DerivedData/Math_Buddy-cywtminuxpdkhkanmtqkswygozhr/Build/Products/Distribution-iphoneos/Math Buddy.app/Math Buddy"
請注意,iOS 5仍處於NDA下,除蘋果開發人員論壇之外,您不允許談論它。 – rckoenes