Creating a Cocoa Framework

后端 未结 2 1828
名媛妹妹
名媛妹妹 2021-01-06 04:24

I\'ve created a working Cocoa framework which I wish to redistribute. The problem is however, it won\'t run outside of Xcode. I\'ve read something about @executable_pa

2条回答
  •  醉梦人生
    2021-01-06 04:34

    Are you actually copying the framework into your applications bundle? Look for the folder called MacOS which is what contains the binary. There should be another folder at the same level called Frameworks and it should have the framework inside it.

    If it's not there you need to create a copy files build phase for the application that copies the framework into the Frameworks folder.

提交回复
热议问题