MobileAppTracker Undefined symbols for architecture armv7: - ios

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.

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)

Undefined symbols for architecture armv7:"_OBJC_CLASS_$_KTKRegion", referenced from: objc-class-ref in AppDelegate.o

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.

GPUimage framework display error in device that has iOS 7.1

I am am using the GPUImage framework in my app. Its working great, But when i tried to run app in device that has iOS 7.1 its display following error.
ld: warning: ignoring file /Users/user/Library/Developer/Xcode/DerivedData/app-fhjyuaovocdkvnfdpxllwvwplxei/Build/Products/Debug-iphoneos/libGPUImage.a, file was built for archive which is not the architecture being linked (armv7): /Users/user/Library/Developer/Xcode/DerivedData/app-fhjyuaovocdkvnfdpxllwvwplxei/Build/Products/Debug-iphoneos/libGPUImage.a
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GPUImageContrastFilter", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_GPUImageSaturationFilter", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_GPUImageExposureFilter", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_GPUImageAdaptiveThresholdFilter", referenced from:
objc-class-ref in ViewController.o
objc-class-ref in WSCall.o
"_OBJC_CLASS_$_GPUImageGrayscaleFilter", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_GPUImagePicture", referenced from:
objc-class-ref in ViewController.o
objc-class-ref in WSCall.o
"_OBJC_CLASS_$_GPUImageBrightnessFilter", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_GPUImageSharpenFilter", referenced from:
objc-class-ref in ViewController.o
objc-class-ref in WSCall.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It is working on Simulator and my other device which has iOS 7.0.3.
Should modify valid architectures armv7 => armv7s, arm64

Xcode get error when using Coapod

I'm using Cocoapod to get Global Lib. It works fine in the simulator, but it has some error when I build on my device:
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in HomeViewController.o
"_OBJC_CLASS_$_SBJsonParser", referenced from:
objc-class-ref in IQRequest.o
"_AFNetworkingOperationFailingURLResponseErrorKey", referenced from:
___78-[IQRequest performQueueOperationWithRequest:withSuccessBlock:andFailedBlock:]_block_invoke39 in IQRequest.o
"_OBJC_CLASS_$_AFHTTPRequestOperation", referenced from:
objc-class-ref in IQRequest.o
"_OBJC_CLASS_$_AFHTTPClient", referenced from:
objc-class-ref in IQRequest.o
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in ChooseDesignerViewController.o
objc-class-ref in IQUser.o
objc-class-ref in IQAppDelegate.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What has happened to my project?
It seems like your library isn't compiled for armv7s. If it's distributed as binary you'll have to ask the maintainer to rebuild it with an armv7s slice. If it's distributed as source code you have to check the projects build settings. I think you should look for valid architectures or something like that.

Resources