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
Related
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
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 trying to use NMSSH to send ssh commande on my Raspberry Pi from an Ios applications but when I run it, I get the following error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_NMSFTP", referenced from:
objc-class-ref in NMSSHSession.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I ever had a similar problem resolved by adding libz.dylib library to my project, maybe I just have to do somethimg similar but i don't know what.
someone know how to solve it ?
thanks
I found it by myself, I just missed to add a library to my project.
I just add library and framework of PJSIP to my XCODE project such as Simulator, Device and Third Party but when I build my project it show error:
Undefined symbols for architecture armv7:
"_pjmedia_get_video_format_info", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_get_video_format_detail", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_init_video", referenced from:
_ios_factory_init in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try to Google the solution but it seem not help. Please share your idea, I think i miss some configuration or library. Thanks in advance.
You should take a look in to this question asked on SO earlier
Trouble of compilation on xcode4.2 for pjsip
I'm creating a iphone app and its contain SBJson_3.1.1 for login purpose [I'm using webservice for login data] but when I run the project it shows the following error and I cant find what its reason I'm quite new to ios development so please guide me.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SBJsonParser", 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)
If you are building the SBJson library and have linked your app to that, you will need add the -ObjC and -all_load flags to your linker options.