Creating Cocoa Framework

I created a Cocoa workspace that I want to redistribute. The problem, however, will not work outside of Xcode. I read something about @executable_path/../Frameworks, which I did not include, because I do not know where to put it: /

Therefore, I launch my application in Xcode using a variable DYLD_FRAMEWORK_PATHthat works fine, but only in Xcode - if I try to run it myself, it will immediately work and says IMAGE NOT FOUND.

I am sure it is @executable_path/../Frameworksmissing, but I do not know where to put it.

Can someone help me please? :)

thank

+5
source share
2 answers

This is how I usually manage things:

  • Xcode framework @rpath

  • Xcode . , "" "" , , Framework .

  • , @loader_path/../Frameworks .

+3

? MacOS, . , Framework, .

, , Frameworks.

0

All Articles