Tag: 未定义符号

使用ShareKit的“架构i386”的“符号(s)找不到”问题

我想为未来的iOS项目使用http://getsharekit.com框架。 因此我开始testing这个框架。 但是我已经得到以下错误: Undefined symbols for architecture i386: "_OBJC_CLASS_$_SHKItem", referenced from: objc-class-ref in ShareKitTestAppDelegate.o "_OBJC_CLASS_$_SHKActionSheet", referenced from: objc-class-ref in ShareKitTestAppDelegate.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status 通常,据我所知,如果头文件被错误地导入,会出现这些问题。 但是,在下面的代码中,上面的问题发生时,我看不到任何错误: #import "ShareKitTestAppDelegate.h" #import "SHK.h" #import "SHKItem.h" #import "SHKActionSheet.h" – (IBAction) letshare:(id)sender { // Create the item to share (in this […]

架构armv7的iOS转换跟踪链接器错误

我正在尝试将iOS版Google转化跟踪function添加到我的iPhone应用中。 该应用程序的基础SDK是iOS6该应用程序的有效架构是armv7,armv7s该应用程序的iOS部署目标是4.3我使用最新的xcode 4.5.2和OSX 10.8.2 该应用程序在appstore中,并适用于iPhone 3-4-5 当我尝试为此iOS链接添加Google转化跟踪时: https : //developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking 我有这个错误: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_ASIdentifierManager", referenced from: objc-class-ref in libGoogleConversionTracking.a(PingUtil.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

GoogleMapsSDK:体系结构x86_64的未定义符号

我正在尝试安装Google maps SDK,并且在运行时遇到以下错误: Undefined symbols for architecture x86_64: "_CBAdvertisementDataManufacturerDataKey", referenced from: -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o) "_CBAdvertisementDataServiceDataKey", referenced from: -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o) "_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from: -[GMSx_PEBeaconScanner scanIfAppropriate] in GoogleMaps(PEBeaconScanner.o) "_OBJC_CLASS_$_CBCentralManager", referenced from: objc-class-ref in GoogleMaps(PEBeaconScanner.o) "_OBJC_CLASS_$_CBUUID", referenced from: objc-class-ref in GoogleMaps(PEBeacon.o) objc-class-ref in GoogleMaps(PEBeaconScanner.o) "_vImageBoxConvolve_Planar8", referenced from: (anonymous namespace)::CreateBlurredImage(CGImage*, double, double) in GoogleMaps(GLWaterGroup.o) ld: symbol(s) […]