我正在構建一個集成了Three20的iOS應用程序。即使在模擬器或iDevices上,我的應用程序運行也很好。但是,當我嘗試構建臨時發送給我的客戶進行測試時。我有一個非常奇怪的錯誤在XCode 4上構建適用於Three20集成應用程序的Adhoc錯誤
Ld /Users/kulnova/Library/Developer/Xcode/DerivedData/AppFantator-etlvrvoqzixizqbdblqhgefckwbb/ArchiveIntermediates/AppFantator/IntermediateBuildFilesPath/AppFantator.build/Adhoc-iphoneos/AppFantator.build/Objects-normal/armv6/Fantator normal armv6 cd /Users/kulnova/Desktop/AppFantator setenv IPHONEOS_DEPLOYMENT_TARGET 4.0 setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin" /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -dynamiclib -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/kulnova/Library/Developer/Xcode/DerivedData/AppFantator-etlvrvoqzixizqbdblqhgefckwbb/ArchiveIntermediates/AppFantator/BuildProductsPath/Adhoc-iphoneos -L/Users/kulnova/Desktop/AppFantator -F/Users/kulnova/Library/Developer/Xcode/DerivedData/AppFantator-etlvrvoqzixizqbdblqhgefckwbb/ArchiveIntermediates/AppFantator/BuildProductsPath/Adhoc-iphoneos -filelist /Users/kulnova/Library/Developer/Xcode/DerivedData/AppFantator-etlvrvoqzixizqbdblqhgefckwbb/ArchiveIntermediates/AppFantator/IntermediateBuildFilesPath/AppFantator.build/Adhoc-iphoneos/AppFantator.build/Objects-normal/armv6/Fantator.LinkFileList -nostdlib -dead_strip -ObjC -all_load -miphoneos-version-min=4.0 -framework QuartzCore -lThree20 -lThree20Core -lThree20Network -lThree20Style -lThree20UI -lThree20UICommon -lThree20UINavigator -framework Foundation -framework UIKit -framework CoreGraphics -framework SystemConfiguration -framework Security -framework MessageUI -o /Users/kulnova/Library/Developer/Xcode/DerivedData/AppFantator-etlvrvoqzixizqbdblqhgefckwbb/ArchiveIntermediates/AppFantator/IntermediateBuildFilesPath/AppFantator.build/Adhoc-iphoneos/AppFantator.build/Objects-normal/armv6/Fantator
ld: library not found for -lThree20 collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
該錯誤顯示爲蘋果匹配-O連接錯誤
我敢肯定,我都遵循嚴格的手工工藝Three20融入源代碼。 「-ObjC」&「-all_load」全部添加到鏈接器中。
我不知道你們中的任何人是否遇到同樣的問題,你是否有任何線索可以解決這個問題?
非常感謝您的閱讀和支持。
沒有認真,跆拳道 - 一次又一次? –
我其實不知道,但是我如何解決問題的確如此 –