【发布时间】:2013-12-01 20:34:26
【问题描述】:
尝试将 Google 移动广告 SDK 添加到项目中,但看起来我缺少框架。我已将AVfoundation 框架添加到项目中,但仍会触发这些。
Ld /Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Products/Debug-iphonesimulator/ForgeInspector.app/ForgeInspector normal i386
cd /Users/kevzettler/checkiday/forge-admob/inspector/ios-inspector
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Products/Debug-iphonesimulator -F/Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Products/Debug-iphonesimulator -F/Users/kevzettler/checkiday/forge-admob/inspector/ios-inspector -filelist /Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Intermediates/ForgeInspector.build/Debug-iphonesimulator/ForgeInspector.build/Objects-normal/i386/ForgeInspector.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0.1 /Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Products/Debug-iphonesimulator/libForgeModule.a -framework SystemConfiguration -framework AssetsLibrary -framework UIKit -framework Foundation -framework CoreGraphics -framework ForgeCore -Xlinker -dependency_info -Xlinker /Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Intermediates/ForgeInspector.build/Debug-iphonesimulator/ForgeInspector.build/Objects-normal/i386/ForgeInspector_dependency_info.dat -o /Users/kevzettler/Library/Developer/Xcode/DerivedData/ForgeInspector-hatfxtfbvtjkzgalvydfjjdmgdvi/Build/Products/Debug-iphonesimulator/ForgeInspector.app/ForgeInspector
Undefined symbols for architecture i386:
"_AVAudioSessionPortBuiltInSpeaker", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libForgeModule.a(GADDevice.o)
"_AVAudioSessionPortHeadphones", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libForgeModule.a(GADDevice.o)
"_AudioServicesPlaySystemSound", referenced from:
-[GADDefaultGMSGHandler didReceiveVibrateNotification:] in libForgeModule.a(GADDefaultGMSGHandler.o)
"_AudioSessionGetProperty", referenced from:
-[GADDevice audioRouteUsingAudioToolkit] in libForgeModule.a(GADDevice.o)
"_AudioSessionInitialize", referenced from:
-[GADDevice audioRouteUsingAudioToolkit] in libForgeModule.a(GADDevice.o)
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in libForgeModule.a(GADDevice.o)
"_OBJC_CLASS_$_AVAudioSession", referenced from:
objc-class-ref in libForgeModule.a(GADDevice.o)
"_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
objc-class-ref in libForgeModule.a(GADOpener.o)
"_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
objc-class-ref in libForgeModule.a(GADOpener.o)
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libForgeModule.a(GADOpener.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[GADOpener openInAppStore:fallbackURLString:] in libForgeModule.a(GADOpener.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
构建阶段的框架:
【问题讨论】:
标签: ios7 admob xcode5 trigger.io