Help needed to build Xcode application.


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.


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.

Thank daehl for your help.