1

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!

Community
  • 1
  • 1
unknownymouse
  • 399
  • 1
  • 5
  • 21
  • 1
    Any luck here? I have a similar issue and this was near the top of my search! – Smashman Apr 26 '17 at 10:57
  • 1
    @Smashman 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. – unknownymouse Jun 22 '17 at 01:43

1 Answers1

0

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.

unknownymouse
  • 399
  • 1
  • 5
  • 21