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?
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.
I use Unity SDK to build iOS app with Branch.io support. Xcode build failed with error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_WKWebView", referenced from:
objc-class-ref in BNCUserAgentCollector.o
"_OBJC_CLASS_$_CSSearchableItem", referenced from:
objc-class-ref in BranchCSSearchableItemAttributeSet.o
"_OBJC_METACLASS_$_CSSearchableItemAttributeSet", referenced from:
_OBJC_METACLASS_$_BranchCSSearchableItemAttributeSet in BranchCSSearchableItemAttributeSet.o
"_OBJC_CLASS_$_CSSearchableIndex", referenced from:
objc-class-ref in BranchCSSearchableItemAttributeSet.o
"_OBJC_CLASS_$_CSSearchableItemAttributeSet", referenced from:
_OBJC_CLASS_$_BranchCSSearchableItemAttributeSet in BranchCSSearchableItemAttributeSet.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Apple deprecated WebView recently.
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)
I am trying to add PayU money sdk to my project. And after adding libiOSCustomBrowser.a file it gives errors:
ld: warning: directory not found for option '-L/Users/Jenaveve/myApp/Utilities/PayUSdk'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_WKUserContentController", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
"_OBJC_CLASS_$_WKWebView", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBMagicRetry.o)
objc-class-ref in libiOSCustomBrowser.a(PUCBBaseConnection.o)
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
objc-class-ref in libiOSCustomBrowser.a(CBWKConnection.o)
"_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
objc-class-ref in libiOSCustomBrowser.a(PUCBWebVC.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In build phases, in Link Binary with Libraries, this reference exists. What is wrong?
Maybe that library cannot support for x86_64 architecture.
Remove x86_64 architecture in
'Build Settings -> Valid architecture'
and rebuild.
I am currently getting an error when I want to build project on a 64bit System. (iPad, iPhone).
I am getting this error :
ld: warning: ignoring file /(project Path)/SKMaps.framework/SKMaps, missing required architecture x86_64 in file /(project Path)/SKMaps.framework/SKMaps (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SKAnnotation", referenced from:
objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_SKMapView", referenced from:
objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_SKMapsInitSettings", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SKMapsService", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On non 64-Bit Systems it works like a charm! But it shows error the other way around.
Need some guidance on this. Thanks.
You will need the SDK build for arm64. Send an email to dev#skobbler.com and you should receive the build.