macOS - commandline for UseAppBundle lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Jonny · 2022-04-25 14:19 I use the LCL but without Lazarus as my IDE and (cross)-compile from the command line. Cross-compiling from Linux to macOS (-Tdarwin -Px86_64 -dLCLcocoa) works well. But I cannot produce an app bundle from any fpc command-line option that I have tried. Lazarus has the UseAppBundle option in the project.lpi file to enable creating an app bundle: Code: XML  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i                     Is there an fpc / ppc command line option that will build the app bundle, not just the executable? ---------------------------------------------------------------------- trev · 2022-04-26 09:54 There is a command line tool to create app bundles. Open /Applications /Lazarus/components/macfiles/examples/createmacapplication.lpr in your IDE. Compile after changing "FileUtil" in the Uses clause to "LazFileUtils". (Bug logged). Alternatively, there is a script in the Wiki here to do it. ---------------------------------------------------------------------- Jonny · 2022-04-30 17:47 Perfect - thank you very much.