Unity SDK Xcode build failure due to WebView usage - ios

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.

Related

CORDOVA Error build ios Undefined symbols for architecture x86_64

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.

How do I debug requirements for Google-Mobile-Ads-Sdk?

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)

Zebra Link OS SDK with Cordova (Phonegap) on IOS

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?

Cordova iOS 64 bit compatibility

I want to have my current cordova pp compatible for 64 bit iOS. I downloaded cordova 3.7 into my project but I am unable to build. I am getting the following error.
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_RootViewController in RootViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_DataBasePlugin in DataBasePlugin.o
_OBJC_METACLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
"_OBJC_IVAR_$_CDVViewController._commandQueue", referenced from:
-[RootViewController didReceiveMemoryWarning] in RootViewController.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_RootViewController in RootViewController.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_DataBasePlugin in DataBasePlugin.o
_OBJC_CLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in DataBasePlugin.o
objc-class-ref in LoginStatusPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have also tried the steps from below link
https://shazronatadobe.wordpress.com/2014/03/12/xcode-5-1-and-cordova-ios/
I followed the below link to add the lib file to my project
http://outof.me/embedding-cordovalib-in-your-iosphonegap-app-project/
Please help

Apple Mach-O : Undefined symbols for architecture i386: in PhoneGap Cordova 2.9.1

I am new in phonegap app development in iOS. After adding CordovaLib.xcodeproj in my xcode project, I made architecture changes in buildsettings as suggested here. Other linker flag is -all_load and -Obj-C When I build the project, I get Apple Mach-O linker errors described below. I have not mentioned i386 anywhere in my build settings. How do I negate this error?
Undefined symbols for architecture i386:
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_LoginPlugin in LoginPlugin.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in LoginPlugin.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_LoginPlugin in LoginPlugin.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Resources