I'm getting undefined architecture error. For other frameworks I can read in documentation what is required.
For Google-Mobile-Ads-SDK, their sample app has no libraries linked.
How do I debug what frameworks are needed?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in MainScene.o
"_OBJC_CLASS_$_GADBannerView", referenced from:
objc-class-ref in MainScene.o
"_OBJC_CLASS_$_GADMobileAds", referenced from:
objc-class-ref in MainScene.o
"_kGADSimulatorID", referenced from:
-[MainScene init] in MainScene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Related
I'm working on a cordova app, not developed by me. during build I get the following error:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$\_TTIdentity", referenced from:
objc-class-ref in TokenTrust.o
"_OBJC_CLASS_$\_TTIdentityProvider", referenced from:
objc-class-ref in TokenTrust.o
"_OBJC_CLASS_$\_TTOfflineTransactionUrlParams", referenced from:
objc-class-ref in TokenTrust.o
"_OBJC_CLASS_$\_TTSecureOfflineActivationLaunchUrlParams", referenced from:
objc-class-ref in TokenTrust.o
"_OBJC_CLASS_$\_TTSoftTokenSDK", referenced from:
objc-class-ref in TokenTrust.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Having no experience in cordova I don't know how to correct the error.
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_OPPCheckoutProvider", referenced from: objc-class-ref in FlutterPeachpayPlugin.o "_OBJC_CLASS_$_OPPCheckoutSettings", referenced from: objc-class-ref in FlutterPeachpayPlugin.o "_OBJC_CLASS_$_OPPPaymentProvider", referenced from: objc-class-ref in FlutterPeachpayPlugin.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_KTKRegion", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_KTKLocationManager", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Make sure your target links libkontakt-ios-sdk.a. You can find Kontact's instructions for setting up your project here.
Can't figure this out. Tried making a completely new project and it still doesn't work. This app uses GoogleMaps. Error below:
Undefined symbols for architecture i386:
"_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*, float, float) in GoogleMaps(GLWaterGroup.o) ld: symbol(s) not found for
architecture i386 clang: error: linker command failed with exit code 1
(use -v to see invocation)
Try importing CoreBluetooth.framework and Accelerate.framework. Also use "-ObjC" instead of "-all_load" in under "Other Linker Flags".
You can refer colink's reply in GoogleMapsSDK : Undefined symbols for architecture x86_64
I'm trying to generate a plugin for Cordova (Phonegap) for the Zebra SDK (https://www.zebra.com/us/en/products/software/barcode-printers/zebralink/zebralink-multiplatform-sdk.html), to print via bluetooth.
I've created a new Cordova project and refereneced the SDK. On build I recieve these errors :
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in CordovaZebraPrint.o
"_OBJC_CLASS_$_MfiBtPrinterConnection", referenced from:
objc-class-ref in CordovaZebraPrint.o
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in CordovaZebraPrint.o
"_OBJC_CLASS_$_MfiBtPrinterConnection", referenced from:
objc-class-ref in CordovaZebraPrint.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in CordovaZebraPrint.o
"_OBJC_CLASS_$_MfiBtPrinterConnection", referenced from:
objc-class-ref in CordovaZebraPrint.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there a particular version of the SDK I need to be using or is this something I can fix in my XCode project?