I am trying to build a c++ program I wrote as a stand alone .app that I can distribute. I didn't notice till now that it is just building a unix executable.
I am using Xcode 4.
Also if my program has dependencies on libraries can I package them with the app or do I have to get people to install the开发者_开发知识库 libraries?
Thanks.
I came across this post when trying to make an .app file of my c++ program in Xcode. So these steps might help someone else out.
- Click Product->Archive in the top menu.
- Then select the "Distribute..." button (under "Validate...").
- Select "Export as" and "Application" in the drop down box.
- Click "Next" and save the file where you want.
精彩评论