I'm making an app in Xcode 6.1.1, and just changed the name of the app, and afterwards I'm getting this "Apple Mach-O Linker Error" build failed error.
It says "ld: file not found:", probably because it can't find the placement of some file with the new name.. Any suggestions?
ld: file not found: /Users/rb/Library/Developer/Xcode/DerivedData/Which_Club-gkgjdxflldelikaopinkdoskkers/Build/Products/Debug-iphoneos/WhichClubToUse.app/WhichClubToUse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"Which_club" is the new name of the project, and "WhichClubToUse" is the old name..
I found the solution! Under my [project]Tests -> general, i needed to select the new Host Application
Related
I'm getting an error
ld: framework not found CouchbaseLiteSwift
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I imported CouchbaseLiteSwift.framework on a folder frameworks like image show
i also included it on embedded binaries, and on framework search path i added :
$(PROJECT_DIR)/Frameworks
/Users/user/Documents/CouchbaseLiteTest/Frameworks
$(PROJECT_DIR)
/Users/user/Documents/CouchbaseLiteTest/Frameworks/CouchbaseLiteSwift.framework
$(inherited)
But still have this error, please help
When building my application using the .xcworkspace with a Generic iOS Device, I get the error message:
ld: framework not found FirebaseFirestore
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The application is compiling without this error when I build & run on my iPhone and on the iOS Simulator.
Does anyone have advice on debugging this? I've tried pod de-integration, installation, using specific targets specified from Github, removing targets, etc.
Thank you!
i am trying to implement Apptentive SDK in my iPhone application as per the guide document.
everything was gone good. but at last point of implementing SDK found error.that is Accelerate framework directory path not fount like that a error occurs
ld: framework not found -Accelerate
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
it may be Xcode version in-compatability issues, if we change directory path it may works
When I use GooglePluse Library file it works on iphone simulator.
But when I run it on device it gives the following Error:
ld: duplicate symbol _OBJC_CLASS_$_GooglePlusSignIn in /Pratik workspace/Fitness
app/Fitness Ap/Fitness/lib/libGooglePlusUniversal.a(GooglePlusSignIn.o) and /Pratik
workspace/Fitness app/Fitness Ap/Fitness/lib/libGooglePlus.a(GooglePlusSignIn.o) for
architecture armv7 clang: error: linker command failed with exit code 1 (use -v to
see invocation)
you will have 2 files with same name that's why it is giving error like this.
go in targets ->Build Phases ->Compile sources and try to remove GooglePlusSignIn file.it will be there i think.
then run again and let me know whether it is working or not..!!!
Happy coding...!!!!
I am trying to run my app on device but it is giving error for device working fine for iPhone simulator.
ld: warning: directory not found for option '-L/Users/Documents/TEST/../CorePlotDemo/CorePlotDemo'
ld: warning: directory not found for option '-L/Users/TEST/../CorePlotDemo/CorePlotDemo'
ld: library not found for -lsqlite3.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How To solve this error, I also tried with Library Search Path but not working .
Add library libCorePlot-CocoaTouch.a
And set path in build Setting -> Search Path -> Library Search Path -> $(inherited) "$(SRCROOT)/Libs/CorePlot"
This is the path of libCorePlot-CocoaTouch.a.