iPhone,存档期间接收错误
我目前正在尝试存档我的应用程序以进行测试,但它会生成以下错误:
Ld“/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/IntermediateBuildFilesPath/Photo Gallery.build/Ad Hoc-iphoneos/Photo Gallery.build/Objects-normal/armv6/照片库》普通armv6 cd“/用户/西蒙/桌面/项目/照片库” setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 setenv PATH“/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk “-L/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/BuildProductsPath/Ad Hoc-iphoneos”“-L/Users/Simon/Desktop/Project/Photo Gallery/Photo Gallery/阿德莫布” “-F/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/照片库/BuildProductsPath/Ad Hoc-iphoneos” -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks -filelist "/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/照片库/IntermediateBuildFilesPath/照片Gallery.build/Ad Hoc-iphoneos/Photo Gallery.build/Objects-normal/armv6/Photo Gallery.LinkFileList" -dead_strip -miphoneos-version-min=4.3 -framework AudioToolbox -framework CoreGraphics -framework MessageUI -framework SystemConfiguration -framework UIKit -framework 基础 -framework AssetsLibrary -lGoogleAdMobAds -o “/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/照片库/IntermediateBuildFilesPath/照片库.build/Ad Hoc-iphoneos/照片库.build/Objects-normal/armv6/照片库”< /p>
ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox,该文件是为不受支持的文件格式构建的正在链接的架构(armv6) ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/MessageUI.framework/MessageUI,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) ld:警告:忽略文件 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/UIKit.framework/UIKit,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) ld:警告:忽略文件/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary,文件是为不受支持的文件格式构建的,该文件格式不是正在构建的链接(armv6) 架构armv6的未定义符号: “_objc_getClassList”,引用自: libGoogleAdMobAds.a(GTMStackTrace.o) 中的 _GTMGetStackAddressDescriptorsForAddresses “_UIApplicationDidFinishLaunchingNotification”,引用自: libGoogleAdMobAds.a(GADObjectPrivate.o) 中的+[GADObjectPrivate 初始化] +[GADObjectPrivate appDidFinishLaunching:] 在 libGoogleAdMobAds.a(GADObjectPrivate.o) “_OBJC_METACLASS_$_NSError”,引用自: libGoogleAdMobAds.a 中的 _OBJC_METACLASS_$_GADRequestError(GADRequestError.o) _OBJC_METACLASS_$_libGoogleAdMobAds.a 中的 GADMError(GADMError.o)
有人以前见过这些错误吗?看起来有些链接问题......
I am currently trying to archive my application for testing but it generate these error :
Ld "/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/IntermediateBuildFilesPath/Photo Gallery.build/Ad Hoc-iphoneos/Photo Gallery.build/Objects-normal/armv6/Photo Gallery" normal armv6
cd "/Users/Simon/Desktop/Project/Photo Gallery"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk "-L/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/BuildProductsPath/Ad Hoc-iphoneos" "-L/Users/Simon/Desktop/Project/Photo Gallery/Photo Gallery/Admob" "-F/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/BuildProductsPath/Ad Hoc-iphoneos" -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks -filelist "/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/IntermediateBuildFilesPath/Photo Gallery.build/Ad Hoc-iphoneos/Photo Gallery.build/Objects-normal/armv6/Photo Gallery.LinkFileList" -dead_strip -miphoneos-version-min=4.3 -framework AudioToolbox -framework CoreGraphics -framework MessageUI -framework SystemConfiguration -framework UIKit -framework Foundation -framework AssetsLibrary -lGoogleAdMobAds -o "/Users/Simon/Library/Developer/Xcode/DerivedData/Photo_Gallery-fycuagscgzkapvglqzfytatmaxzm/ArchiveIntermediates/Photo Gallery/IntermediateBuildFilesPath/Photo Gallery.build/Ad Hoc-iphoneos/Photo Gallery.build/Objects-normal/armv6/Photo Gallery"ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/MessageUI.framework/MessageUI, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/UIKit.framework/UIKit, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation, file was built for unsupported file format which is not the architecture being linked (armv6)
ld: warning: ignoring file /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary, file was built for unsupported file format which is not the architecture being linked (armv6)
Undefined symbols for architecture armv6:
"_objc_getClassList", referenced from:
_GTMGetStackAddressDescriptorsForAddresses in libGoogleAdMobAds.a(GTMStackTrace.o)
"_UIApplicationDidFinishLaunchingNotification", referenced from:
+[GADObjectPrivate initialize] in libGoogleAdMobAds.a(GADObjectPrivate.o)
+[GADObjectPrivate appDidFinishLaunching:] in libGoogleAdMobAds.a(GADObjectPrivate.o)
"_OBJC_METACLASS_$_NSError", referenced from:
_OBJC_METACLASS_$_GADRequestError in libGoogleAdMobAds.a(GADRequestError.o)
_OBJC_METACLASS_$_GADMError in libGoogleAdMobAds.a(GADMError.o)
Does anyone see these error before? It looks like some linking problem ....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论