开发者

How do you export or release a Mac OS X program made in Xcode? Program does not load on other computers

I made a program in Xcode, being a simple calculator that takes a first number, and a second number, and then either adds,subtracts,multiplies, or divides depending on the radio button. I build and run and the program comes up and works fine. When I went to show my friends on their macs, when you double click on the program the program pops in the tray for like .05 seconds and then disappears and we never can actually run the program. It still works perfect however on my computer.

What am I doing wrong? How can I take the program I made, and run it on different macs? I have the release set to 10.5 but the active SDK to 10.6. It runs in both 10.5 and 10.6 simulators. One friend has 10.6.3 like me and the other has 10.5.x(cant remember the last part).

To get the app, I changed from debug to release and set active SDK to 10.5. Then in the release folder I found the app and sent that over iChat.

I feel this will be a problem in the futur开发者_运维知识库e if I ever make a legit application to distribute.

Thank you!

I uploaded the release version to show you better what I mean.

http://www.filefront.com/16472557/Mac%20App%20Test.zip


You will need to turn off ZeroLink so that all the code you need is included in the executable. You can do that in the Linking build settings collection.

ZeroLink should have been turned off when you switched to release. I'm not sure why it didn't, but you should be able to do it manually.

Hope that helps.


Walkthrough: Press ctrl + icon -> open to prevent unsigned security handling for this app.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜