I am receiving an error while trying to run the app using pod installation of “IBMMobileFirstPlatformFoundation” on iOS using Xcode 10
ld: library not found for -lstdc++.6
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Has anyone encountered this?
Should remove libstdc++ from other linker flags in your xcode project
Follow
https://mobilefirstplatform.ibmcloud.com/blog/2018/07/23/mfp-support-for-ios12/#known-issues
I'm trying to use a cocoapod with my Xcode project (Swift).
When I try to Build the project it fails with:
Apple Mach-O Linker Error Group
- "_OBJC_CLASS_$_FSCalendar", referenced from:
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
Errors
Any ideas what could be causing this?
(The cocoapod I am using is: https://github.com/WenchaoD/FSCalendar
UPDATE
I have added the frameworks and now I am just getting "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
UPDATE
Full error:
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos/FSCalendar'
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos'
ld: framework not found FSCalendar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried everything suggested on the internet for the same issue and nothing resolved this. I fully re-installed Xcode and Cocoapods, set up the project exactly the same as before and it is now working.
After I ran pod install on the new name I changed my project to, I had this error cause the pod framework was not linking to NEW project name and was still looking for OLD name.
I resolved by going into my projects 'Linked Frameworks and Libraries' in the Targets section and removing the OLD framework that has the OLD project name.
Targets > General > Linked Frameworks and Libraries > -(Pods_OLD_PROJECT_NAME.framework)
im getting this error when trying to build my xcode project.
ld: library not found for -lBolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I cant figure out what the issue is.
I am adding a third party framework to my app! Under Build Phases -> Link Binary With Libraries I added the third party frameworks. But when I run I get the following error:
ld: framework not found RUA
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas?
I have matched all the configuration of the two project, and import the frameworks. and the error is:
ld: framework not found -stdlib=libstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)