无法执行命令:分段错误:11

时间:2013-03-26 13:50:08

标签: objective-c xcode linker

我正在开发一款iPad应用。尝试创建它的存档时出现以下错误。

  

Ld /Users/macbook/Library/Developer/Xcode/DerivedData/LSS-gtlketfveaswhcefyvuepplwjfbu/Build/Intermediates/ArchiveIntermediates/LSS/InstallationBuildProductsLocation/Applications/LSS.app/LSS normal armv7       cd / Users / macbook / Desktop / LSSCodeMarch22       setenv IPHONEOS_DEPLOYMENT_TARGET 4.3       SETENV PATH“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr / sbin目录:/ sbin目录”       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6。 1.sdk -L / Users / macbook / Library / Developer / Xcode / DerivedData / LSS-gtlketfveaswhcefyvuepplwjfbu / Build / Intermediates / ArchiveIntermediates / LSS / BuildProductsPath / Debug-iphoneos -L / Users / macbook / Desktop / LSSCodeMarch22 / LSS / CrittercismSDK - L / Users / macbook / Desktop / LSSCodeMarch22 / LSS / Airship -F / Users / macbook / Library / Developer / Xcode / DerivedData / LSS-gtlketfveaswhcefyvuepplwjfbu / Build / Intermediates / ArchiveIntermediates / LSS / BuildProductsPath / Debug-iphoneos -filelist / Users / macbook / Library / Developer / Xcode / DerivedData / LSS-gtlketfveaswhcefyvuepplwjfbu / Build / Intermediates / ArchiveIntermediates / LSS / IntermediateBuildFilesPath / LSS.build / Debug-iphoneos / LSS.build / Objects-normal / armv7 / LSS.LinkFileList -dead_strip -fobjc- link-runtime -miphoneos-version-min = 4.3 -lsqlite3 -framework AudioToolbox -framework S ecurity -framework Foundation -framework CoreTelephony -framework StoreKit -lz -framework SystemConfiguration -framework MobileCoreServices -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework MapKit -framework CoreText -framework MessageUI -framework UIKit -lUAirship-1.4.0 -lCrittercism_v3_4_9 -o /用户/的MacBook /库/开发商/ Xcode中/ DerivedData / LSS-gtlketfveaswhcefyvuepplwjfbu /建造/中间体/ ArchiveIntermediates / LSS / InstallationBuildProductsLocation /应用/ LSS.app / LSS

     

clang:错误:无法执行命令:分段错误:11

     

clang:错误:链接器命令因信号失败(使用-v查看调用)

有人可以帮我处理这个问题吗?

最好的问候

1 个答案:

答案 0 :(得分:0)

我发现应用程序中使用的第三方API之一与最新的iOS(6.1)不兼容。我从框架列表中删除了该框架,但它确实有效。