Xcode compilation error: audio stream - ios

I'm facing a problem, my project don't want to compile because of
some framework mismatch.
Undefined symbols for architecture arm64:
"_audio_stream_open", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_get_duration", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_get_sample_rate", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_close", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_get_channels", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_eos", referenced from:
_ears_load_stream in TQEventListener(load.o)
"_audio_stream_read", referenced from:
_ears_load_stream in TQEventListener(load.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think its about TQEventListener which need a framework, but I'm not sure...

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.

When i integrate recaptcha-enterprise into iOS with cocoapods,something is wrong with arm64, how to solve it

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)

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)

Linker command failed with exit code 1 on my Swift app

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

MobileAppTracker Undefined symbols for architecture armv7:

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.

Resources