krish
May 5, 2009, 11:53am
#1
Hi,
I have created a simple project in Xcode. When I build the project, the Xcode creates an application in Debug folder.
I have no problem in running that application from Debug folder in the same Mac machine where I have created the project.
When I took the application file to some other Mac system, it is not running. (The other system does not have Xcode).
Can any one suggest me how to create an application so that it can run on any machine.
Thanks,
Gopal
daehl
May 5, 2009, 1:18pm
#2
krish:
I have created a simple project in Xcode. When I build the project, the Xcode creates an application in Debug folder.
Can any one suggest me how to create an application so that it can run on any machine.
Yes, you need to switch your project from “Debug” configuration to “Release”. This is done in Xcode’s editor window. Notice the button at the upper left with the title “Active Build Configuration” underneath. Change it from “Debug” to “Release” and rebuild.
krish
May 8, 2009, 4:33am
#3
Thank daehl for your help.