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?
Related
I want to integrate JitsiMeetSDK framework for iOS project. but it gives me error:
ld: framework not found JitsiMeetSDK.xcframework
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have set all the info as per link : https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk
I have used cocoapods, Xcode 12.4, Swift project. Any suggestions?
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)
I am new to IOS development and i tried to resolve the error but nothing works. Provide some suggestion.
ld: library not found for -lPods-XXXXXXX-AppInvites
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Open the project using workspace (that was generated by CocoaPods) instead of the xcodeproj. I think this will resolve your issue. Otherwise there may be some library missing in CocoaPods.
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)
Following are the steps I have followed to integrate YouTube upload in my app,
added libGTLTouchStaticlib.a and respective header folder into my project.
added libGTLTouchStaticlib.a in General->Linked Frameworks and Library.
mentioned -ObjC and -all_load in other linker field of build settings
added systemConfigaration and security framework in General->Linked Frameworks and Library
But when I build its giving following error,
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thank You #Spynet. I found the problem. I havent deleted all the classes of previous api before using lib.a . Some of the classes were remaining without being deleted. So it was giving above error (duplicate classes). After removing it works