Building OSX App Bundle

后端 未结 7 527
[愿得一人]
[愿得一人] 2020-11-29 14:40

Suppose I have have made a an osX app without using Xcode. After compiling with GCC I get an executable which is linked to several other libraries. Some of those libraries m

7条回答
  •  青春惊慌失措
    2020-11-29 15:31

    The simplest solution is: create once an Xcode project without changing anything (i.e. keep the simple one-window app that Xcode creates for you), build it, and copy the bundle it created for you. Then, edit the files (notably the Info.plist) to suit your content, and put your own binary in the Contents/MacOS/ directory.

提交回复
热议问题