views:

46

answers:

2

I've developed an application on XCode, compiled and built it. If I run the app on the same machine using Finder, it starts normally. But if I copy the app to another machine and try to run it, the application does not start. Is there another step that I forgot after building the application on XCode? I think it seems to be a simple issue, but I really need some help on it...

Thanks!

A: 

On a machine where it doesn't start, open the Console utility, try launching your program, and see if any new messages appear in the Console window.

JWWalker
Yes, a "Permission denied" message appeared on that. Why? Do you know can I fix it?
Denis Macedo
A: 

OK, It was a very stupid error... I was sending the app to the other machine through iChat. When the download completes the execute permission of the executable file inside the app is automatically removed. So, I was trying to execute a non executable app.

Thanks everybody!

Denis Macedo
Package it then, as .dmg or whatever. Sending bundles directly isn't quite reliable.
Georg Fritzsche