I have build a framework and wanted to use it in another project but I can't

I'm using Xcode 8.2.1

It's a Command-line project so there is no "Embedded binaries" section in the "General" tab as mentioned here.

I have added it in "Linked Frameworks and Libraries" and also in "Copy Files" like mentioned here. But didn't work.

enter image description here

I didn't understand how to set "Runpath Search Paths" like mentioned here.

My project is at:

~/Documents->Xcode->project_folder 

My output is at:

~/Documents->Outputs 

So how can I set "Runpath Search Paths" or is there any other way?

Thank you!

2

1 Answer

We can't use our custom made frameworks in a command-line.

Because in a GUI app, the frameworks are copied and packed inside .app, which is not possible in command-line.

So, I just added the source code files to the command-line project.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy