Framework not found xcode 7 - ios

I built a framework and when trying to use it in another project gives me this error:
ld: framework not found PSD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using Xcode 7 and the .framework file is inside the project folder. I already tried changing non-recursive to recursive in paths and adding the path manually, but it's not working.

Ok, I found the solution, I wasn't building the Framework as Target

Related

"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

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

linker command failed with exit code 1 (user -v to see invocation)

I got an error:
Framework not found FacebookSDK
clang: error: linker command failed with exit code 1 (user -v to see invocation)
When I copy my project to another macbook to run,I found this error.I used the facebooksdk framework.If I deleted the facebook framework in my project and then add the facebook framework again to my project can solved this error.But I don't want to solve this problem like that.Any other better idea.
Thanks in advanced.
You should check Framework Search Path in target Build Settings, best way is write framework directory path with macro like $(SOURCE_ROOT) is allow linker find framework on different macs.
For example:
if my project live in this folder
/Users/sage/Documents/devs/project1/
$(SOURCE_ROOT) will be /Users/sage/Documents/devs/project1
in Framework Searh Path I should write $(SOURCE_ROOT)/libs

PJSIP Siphon(ld: library not found for -lpj-arm-apple-darwin9)

Hi i am using the Siphon application to build my application. I have successfuly upload the binary to itunes store 3 months before. Now have to change the graphic of that app and trying to build the binary but it is giving me the following linker error. Any one can please guide me why it is so.
ld: library not found for -lpj-arm-apple-darwin9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
one thing more i have libpj-arm-apple-darwin9.a library inside my project.
This error occurs when we copy the project from one place to other. so the path of libraries become changed and
we can solve it by just removing the required libraries by reference and copy the libraries again inside our project.

Resources