Library not found | linker command failed - ios

I try to build and run my Xcode project but I continue to see it fail due to this issue below.
I tried to clean and build - didn't work
set bitcoede to no - didn't work
reinstall cocoa pods/updatecocoapods - didn't work
Troubleshooting cocoa pods with their link (https://guides.cocoapods.org/using/troubleshooting.html) - didn't work
any ideas? I am using the Firebase cocoa pods and I am in the process of creating a user login page.
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I had something similar. My project is setup a bit differently.
1) First I change my .xcodeproj to a workspace. From "Files->Save As Workspace.." menu option.
2)Ensured that in my project folder that "pod install" had worked and had all the frameworks under the pods folder.
3)Drag the pod.xcodeproj from the project folder into xcode to the top of the project list.
Compiling now succeeded for me.
Hope this helps if you are still having this issue.

Related

xcode error: linker command failed with exit code 1 googletoolboxmac

ld: warning: directory not found for option
'-F/Users/nicksfikas/Library/Developer/Xcode/DerivedData/Tic_Toe-alfdrybbuuvwxqfdmqfxrrljmyli/Build/Intermediates.noindex/SwiftMigration/Tic
Toe/Products/Debug-iphoneos/GoogleToolboxForMac' ld: framework not
found GoogleToolboxForMac clang: error: linker command failed with
exit code 1 (use -v to see invocation)
what should I do?
This is because a 3rd party library is missing from your system..
try
I encountered the same problem and my solution is as follow:
Close the current project in xcode ---> Go to your project file and open the project by clicking the .xcworkspace file. Note: not the .xodeproj file.
or
You can clean the project in Product Tab and select clean. To build select build in product tab in Xcode.
hope it works.. :)
Maybe you installed a pod file and you are still trying to build from the .xcodeproj file instead of .xcworkspace

"Linker command failed with exit code 1" message when building project after adding RMQClient framework to XCODe 7.3 Project

I am trying to add RMQClient framework to my XCODE 7.3 project.
I am following the steps as specified in https://github.com/rabbitmq/rabbitmq-objc-client as well as in the RabbitMQ official site.
After adding the framework and running Tools->Build I am receiving
ld: framework not found RMQClient
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error messages and can't import any of the header files from the framework.
Any suggestions for this issue?
Copying the framework package to the Project tree on Xcode solved the problem.
remember to make sure the framework is also linked and files are copied in the Build Phases section

weird error when trying to install ParseUI via CocoaPods

I'm trying to build an App using Parse as my backend and Xcode 7.0 & Swift 2. So in order to use PFQueryTableView, I need to use CocoaPods to install ParseUI first. I did this and used .xcworkspace to re-enter the project and then tried to compile and run it. But instantly I got this very nasty error:
ld: 823 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
These 2 lines are just the bottom 2 lines of the error messages, because there are a lot and they all start with something like:
duplicate symbol _OBJC_METACLASS_$_PFUserFileCodingLogic in:
or anything like that
I have many frameworks installed like Bolts, and it seems not a lot of people get this like me.
I had this same issue. I'd both installed Parse via Pods as well as by dragging the libraries into my Frameworks directory manually.
I removed the Pods directory and everything that said Pods from my app's build phases and it seemed to work out.

Chartboost with Unity 5 on xcode missing linking file

Has anybody used chatboost with unity 5 on IOS? I get a linking error and a warning
warning: directory not found for option '-L/Users/alexm/Downloads/iosFree/LibrariesPlugins/iOS'
ld: library not found for -lChartboost
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On the Android everything is fine. Do I have to do anything extra other what i mentioned on chartboost integration page?
Make sure that if the Chartboost plugin is using some PostprocessBuildPlayer stuff, that is isn't getting clobbered by a different script.
If, in XCode, you check the build phases tab for linked frameworks and you don't see Chartboost.framework, it's likely the build script not running correctly.

Library not fount -lPods

I got follwing errro in my application.
ld: warning: directory not found for option '-L/Users/idev/Desktop/Swami/Project/Sources/Xcode/chronicle/chronicle/Vendor/openssl-1.0.1e/lib'
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me...
You need to open ".xcworkspace" instead of ".xcodeproj". the .xcworkspace is generated when you install pod on the project.
Xcode is not able to find the library, and hence the library error. Click on the project target, go to build settings, under search paths -> frameworks search paths, delete paths. You may have moved your desktop folder along with the library.
It seems project has been using http://cocoapods.org/. and that files are missing from your project.
You cant just download it from git. You need to install it from cocoapods.
you may follow Introduction to http://www.raywenderlich.com/64546/introduction-to-cocoapods-2 Tutorial

Resources