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.
Related
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
I want to play online stream use vlc in iOS.
I find this
http://www.videolan.org/vlc/download-ios.html
to do that and can run SimplePlayback source code in simulator.
But when build it for iOS device, I get same error:
ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesimulator"'
ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesos"'
ld: warning: directory not found for option '-F/Users/ali/Downloads/build'
Undefined symbols for architecture armv7:
"_openat", referenced from:
_vlc_openat in MobileVLCKit(lt4-filesystem.o)
(maybe you meant: _vlc_openat)
"_fdopendir", referenced from:
_DirRead in MobileVLCKit(libfilesystem_plugin_la-directory.o)
_FileOpen in MobileVLCKit(libfilesystem_plugin_la-file.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can any one help me?
Thanks
As i followed tutorial from: http://http:/https://www.sinch.com/tutorials/minichat-ios-messaging-app/#project%20setup and updated Xcode to 6.3.1, i run into linker error which i having a difficult time in fixing it.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SINOutgoingMessage", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_Sinch", 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)
i used cocoapods to install the Sinch and uses armv7, armv7s as architecture.
Your review and suggestion greatly appreciated.
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.
The following is the detailed error message I got while compiling a OpenCV project. Please help me out. Thanks a lot!
Undefined symbols for architecture x86_64:
"_cvFindFundamentalMat", referenced from:
testRigidRegistrationCode() in AugmentedReality.o
CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
"_cvComputeCorrespondEpilines", referenced from:
CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The key there is "ld: symbol(s) not found for architecture x86_64". You're linking against a 32-bit library somewhere. What library, we have no idea, since you didn't include enough information.