ios – XCode中的Clang错误

ios – XCode中的Clang错误,第1张

概述我的应用程序在xcode 4.4.1中运行良好,但我刚刚更新到4.5,现在我得到了一个clang错误.甚至不确定它是什么,有没有人经历过这个,或者能否阐明我如何修复它?这是确切的错误: Ld /Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/In 我的应用程序在xcode 4.4.1中运行良好,但我刚刚更新到4.5,现在我得到了一个clang错误.甚至不确定它是什么,有没有人经历过这个,或者能否阐明我如何修复它?这是确切的错误:

Ld /Users/natehamilton/library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/DeBUG-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurch normal armv7s    cd "/Users/natehamilton/Desktop/Current Projects/Work/Projects/Mobile App/LCBCChurch"    setenv IPHONEOS_DEPLOYMENT_TARGET 5.1    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 armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/natehamilton/library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Products/DeBUG-iphoneos -F/Users/natehamilton/library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Products/DeBUG-iphoneos -F/Users/Shared/Cordova/Frameworks -fileList /Users/natehamilton/library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/DeBUG-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurch.linkfileList -dead_strip -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak_library /usr/lib/libSystem.B.dylib -fobjc-link-runtime -miphoneos-version-min=5.1 -framework Foundation -framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolBox -framework AVFoundation -framework CoreLocation -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -framework CoreMedia -framework Cordova -o /Users/natehamilton/library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/DeBUG-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurchld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/Shared/Cordova/Frameworks/Cordova.framework/Cordova for architecture armv7sclang: error: linker command Failed with exit code 1 (use -v to see invocation)
解决方法 将“Bu​​ild Active Architecure Only”更改为“是”,它将起作用:) 干杯! 总结

以上是内存溢出为你收集整理的ios – XCode中的Clang错误全部内容,希望文章能够帮你解决ios – XCode中的Clang错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1066204.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-26
下一篇2022-05-26

发表评论

登录后才能评论

评论列表(0条)

    保存