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)
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.
pod 'RecaptchaEnterprise','17.0.0', :source => "https://cpdc-eap.googlesource.com/RecaptchaEnterprise.git"
cocoapods is success, but xcode show the following error:
Undefined symbols for architecture arm64:
"_JSObjectIsFunction", referenced from:
iosguard::IsCallableJSValue(JSValue*) in recaptcha(utils_20e35588790c00941fa61c0ddccd0959.o)
"_JSObjectIsConstructor", referenced from:
iosguard::IsCallableJSValue(JSValue*) in recaptcha(utils_20e35588790c00941fa61c0ddccd0959.o)
"_JSValueGetType", referenced from:
iosguard::GetJSValueType(JSValue*) in recaptcha(utils_20e35588790c00941fa61c0ddccd0959.o)
"OBJC_CLASS$_JSValue", referenced from:
objc-class-ref in recaptcha(javascript_executor_15c839bc58faec3ce2d75d61fa34786b.o)
objc-class-ref in recaptcha(native_conversions_906021188aa773e592eb340a130f2626.o)
"_JSValueIsObject", referenced from:
iosguard::IsCallableJSValue(JSValue*) in recaptcha(utils_20e35588790c00941fa61c0ddccd0959.o)
"OBJC_CLASS$_JSContext", referenced from:
objc-class-ref in recaptcha(IGDContainer_7c03e8f54879222dddd9c24d310f8237.o)
objc-class-ref in recaptcha(javascript_executor_15c839bc58faec3ce2d75d61fa34786b.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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)
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.
MobileAppTracker ios SDK
Undefined symbols for architecture armv7:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SKPaymentQueue", referenced from:
objc-class-ref in MobileAppTracker(MATStoreKitDelegate.o)
"_OBJC_CLASS_$_SKProductsRequest", referenced from:
objc-class-ref in MobileAppTracker(MATStoreKitDelegate.o)
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in MobileAppTracker(MATSettings.o)
"_ADBannerContentSizeIdentifierLandscape", referenced from:
l018 in MobileAppTracker(MATTracker.o)
"_OBJC_CLASS_$_ADBannerView", referenced from:
objc-class-ref in MobileAppTracker(MATTracker.o)
"_OBJC_CLASS_$_ADClient", referenced from:
objc-class-ref in MobileAppTracker(MATTracker.o)
"_ADBannerContentSizeIdentifierPortrait", referenced from:
l018 in MobileAppTracker(MATTracker.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try this. Go to,
Your Project->Build Phases->Link Binary With Libraries
press + button and add iAd.framework , Security.framework and StoreKit.framework. Clean and Build your project.