Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_MPMusicPlayerController", referenced from:
objc-class-ref in liblibPDRCore.a(PGDeviceStatus.o)
ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
One of my lib was manually dragged into project before now I have it installed by cocoapods ,then the problem occurred. And I tried add the MediaPlayer.framework(although I don't need this framework before) to my project,the problem becomes this : ld: 14 duplicate symbols for architecture armv7
Anyone can help me 🙏?
I had same problem, but then I added MediaPlayer.framework like this
Related
I got this error when trying to running app in simulator. And I'm using this library. https://github.com/donobono/DoImagePickerController. How can I solve this problem?
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_DoImagePickerController", referenced from:
objc-class-ref in NewActivityVC.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thank you in advance
I am trying to build my react native project for release and i am getting the error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_RCTRootView", 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)
can some one help here please i cant figure it out.
I am getting below error. It was working fine and I don't have any idea about what caused this issue.
ld: warning: ignoring file /Users/akashpatel/Developer/iOS_development/FantasyCricket/Fantasy_cricket/Library/JMC/JMCClasses/Libraries/CrashReporter.framework/CrashReporter, missing required architecture arm64 in file /Users/akashpatel/Developer/iOS_development/FantasyCricket/Fantasy_cricket/Library/JMC/JMCClasses/Libraries/CrashReporter.framework/CrashReporter (3 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PLCrashReport", referenced from:
objc-class-ref in CrashReporter.o
"_OBJC_CLASS_$_PLCrashReporter", referenced from:
objc-class-ref in CrashReporter.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried removing and adding CrashReporter from and to project.
Select your project, go to Build Settings and have a look at the Architectures. You should delete arm64 from the Architectures and also from Valid Architectures and Build the app again.
This error is driving me crazy, any idea?
Undefined symbols for architecture armv7s:
"_CGContextConcatCTM", referenced from:
-[PopoViewController onClick:] in PopoViewController.o
"_CGContextTranslateCTM", referenced from:
-[PopoViewController onClick:] in PopoViewController.o
"_CGContextSaveGState", referenced from:
-[PopoViewController onClick:] in PopoViewController.o
"_CGContextRestoreGState", referenced from:
-[PopoViewController onClick:] in PopoViewController.o
ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
The binary with libraries are linked.
The library search path is correct.
Thanks
Link your application with CoreGraphics.framework for iPhoneOS architecture.
I have an error like this
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ViewController", referenced from:
objc-class-ref 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)
How can you solve this problem? Please help me.
Find the file ViewController.m in your project and select it.
Use the properties inspector (Apple-Option-1) to ensure that it's added to your target membership whatever that target may be. It will need have a tick next to the target.