I downloaded the latest GoogleMobileAds SDK, put it in the directory where my other Frameworks are located, and then imported the framework (Build Phases, Link Binary With Libraries)
But even without referring this SDK it in the code, the compilation fails:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GLKView", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_GLKMatrix4Identity", referenced from:
l13228 in GoogleMobileAds(flat-arm64)
l13240 in GoogleMobileAds(flat-arm64)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Any help or hint you provide is much appreciated
Related
I know that this question has been asked before but I tried every possible solution shared online but still got the issue. First tried with pods and then moved the FirebaseAnalytics into SPM. "Build Active Architecture Only" is set NO. In framework search paths, $(inherited) value and $(PROJECT_DIR)/Frameworks are available due to the frameworks I use in pods and SPM.
This is the error I get when I import FirebaseAnalytics and call Analytics:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FIRAnalytics", referenced from:
objc-class-ref in SessionManager.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 use AVRoutePickerView in my app but when I build the project I am getting linking error:
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_AVRoutePickerView", referenced from:
_OBJC_METACLASS_$_PttVolumeView in PttVolumeView.o
"_OBJC_CLASS_$_AVRoutePickerView", referenced from:
objc-class-ref in SettingsVolumeCell.o
_OBJC_CLASS_$_PttVolumeView in PttVolumeView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
This is AVKit library. I don't understand why I am getting it?
Can someone help?
Thanks in advance and regards
I have finally found solution,
Just adding AVKit framework to Embedded and Linked libraries in
project settings
I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution.
Ignoring File
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK,
missing required architecture x86_64 in file
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK
(3 slices) Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ZooZ", referenced from:
objc-class-ref in DemoZooZSDKViewController.o "_OBJC_CLASS_$_ZooZInvoiceItem", referenced from:
objc-class-ref in DemoZooZSDKViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with
exit code 1 (use -v to see invocation)
Experienced the same issue when following the installation instruction on their Github. Finally, I've downloaded the source code and built using Carthage for all architectures. This allowed me to run on simulator and physical device.
I am using Xcode 6.1 with iOS 8.1 SDK to develop an iOS application.
SailracerEngine class imports SmoothSpeedTimeSeries and SmoothCourseTimeSeries classes to implement some of its functionality. Both are subclasses of SmoothTimeSeries. When I try to build my project, linker fails with the following error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SmoothCourseTimeSeries", referenced from:
objc-class-ref in SailracerEngine.o
"_OBJC_CLASS_$_SmoothSpeedTimeSeries", referenced from:
objc-class-ref in SailracerEngine.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Other module in my code is using SmoothSpeedTimeSeries and SmoothCourseTimeSeries without any linker errors. How can this issue be solved?
The implementation file for class SmoothCourseTimeSeries has not been added to the Xcode Target.
If you click on the implementation file you should be able to see which Xcode targets it belongs to using the file inspector on the right.
I am developing a fake static framework. I build it and included it another sample application. The sample application is running fine on iPhone(ios 7.1), but it giving below errors when i run it on simulator
ld: warning: ignoring file /Users/awsuser8/Desktop/Test.framework/Test, file was built for archive which is not the architecture being linked (i386): /Users/awsuser8/Desktop/Test.framework/Test
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Test", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You can rebuild the library for the iOS Simulator and combine it using lipo with the ARM build of the library. Then the library will support x86 builds as well.