I'm new to this site, my name is Kevin Griffiths and work mostly in 3D, I'm building a game in Unity3D for the last year and everything seemed to be going ok, until I have to upgrade my software .. :( and thats why I'm here looking for some help please as I really dont know my way around Xcode, I've just upgraded to the above and now when I build I get these 2 errors from Xcode anyone know how to correct these please I'd really appreciate the help.
Undefined symbols for architecture armv7: "_OBJCCLASS$_ALAssetsLibrary", referenced from: objc-class-ref in libScreenRecorder.a(MP4RecorderProcessor.o)
ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks.
This error means that ALAssetsLibrary is not added to your project target
You can use adding framework tutorial from Apple Doc.
Related
Anyone knows how to solve this error? I can't compile my project with IMFPush library =/
ld: warning: ignoring file /Users/kersul/Develop/Grabit_iOS/Pods/IMFPush/Frameworks/IMFPush.framework/IMFPush,
missing required architecture i386 in file
/Users/kersul/Develop/Grabit_iOS/Pods/IMFPush/Frameworks/IMFPush.framework/IMFPush
(2 slices) Undefined symbols for architecture i386:
"_OBJC_CLASS_$_IMFPushClient", referenced from:
type metadata accessor for __ObjC.IMFPushClient in AppDelegate.o ld: symbol(s) not found for architecture i386 clang:
error: linker command failed with exit code 1 (use -v to see
invocation)
There are a few questions around that seem to tackle this issue.
I would first take a look at Jordan's advice here
and ensure that the framework was added to your project correctly. Additionally ensure that the framework has been linked correctly
If neither fixes the issue then also see the answer posed by Allen and check to see if your .m file is listed under your compile sources.
That said, i386 architecture is what is used by the iOS Simulator. Do be aware that the Simulator cannot replicate push functionality, so even if you are able to compile IMFPush for it, it will not function correctly.
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.
When I try to run the app I am getting the following error
d: warning: directory not found for option '-L/Users/btmani/Desktop/MyProject/download-indicato,twitter,imageview/sewebimageview/SDWebImage-progressbar-master/Examples/../../SDWebImage-3.3.framework/Versions/A'
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ProgressBarInfo", referenced from:
objc-class-ref in DetailViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is really creating big problem to me, and I don't know how to fix it. Please suggest me how to fix this
Thanks in advance
This is a framework problem so please import ImageIO.framework. Clean your project and run it again.
if you are using SDWebImage then Update your SDWebImage framework .There are some important bug fixes for iOS 7 otherwise No Tension.
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 trying to write test cases for my iOS app. However, there seems to be some problem regarding SenTesting framework. I'm getting the following error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SenTestCase", referenced from:
_OBJC_CLASS_$_testSmartDiary in testSmartDiary.o
_OBJC_CLASS_$_testAddTask in testAddTask.o
_OBJC_CLASS_$_testAddContacts in testAddContacts.o
"_OBJC_METACLASS_$_SenTestCase", referenced from:
_OBJC_METACLASS_$_testSmartDiary in testSmartDiary.o
_OBJC_METACLASS_$_testAddTask in testAddTask.o
_OBJC_METACLASS_$_testAddContacts in testAddContacts.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don't know what is going wrong. I have added the SenTestingFramework. It is probably happening because I'm using two different machines to develop the same project. Do I need to specify some path? I read the solution given here: iOS: Linker errors with OCUnit integration
but it is not feasible to delete the target and add the things again every time I switch machines. Is there a permanent solution to this? Please help