Os X Framework Library Not Loaded: 'Image Not Found' for Command-Line

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.

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

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

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest