Code compiles and runs, but creates invalid app file lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- Sternkucker · 2015-06-11 13:32 Dear all, I have created a little program in Lazarus which compiles and runs nicely on Windows. Just one form and some math calculations. Now a friend likes to run it on his Mac. He can open and compile, and the program actually works. However, there is an error message after compile, and no app file is being created. Any idea what's happening there? Screenshot: http://abload.de/img/screenshot4flyzt.png Thanks! Michael ---------------------------------------------------------------------- Josh · 2015-06-11 14:25 Under Project Options have you set Use Application bundle for running and debugging, and also clicked the create application bundle.? ---------------------------------------------------------------------- Sternkucker · 2015-06-11 15:16 Yes. It creates the same non-working empty .app ---------------------------------------------------------------------- Sternkucker · 2015-06-12 05:44 Might I ask anyone with a Mac to try to compile? The files are here: http://www.jaekle.info/Code.zip (40KB). Then we might decide whether it's a problem on a specific Mac installation, or a general Mac problem. Thanks for your help! ---------------------------------------------------------------------- esvignolo · 2015-06-12 11:39 Hi, i tested and run ok, and generate a correct binary. U must check u app bundle. http://wiki.lazarus.freepascal.org/Application_Bundle ---------------------------------------------------------------------- Sternkucker · 2015-06-12 13:02 Thanks esvignolo! Then i will tell my friend to get his Lazarus installation corrected. I tried it on Linux (Ubuntu VM) and it runs nicely as well. So it must certainly be his installation. I just see that in your screenshot some things seem to be missing. Does it never show a bright yellow sun in the lower left part?