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...
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!
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.