Skip to content

Building BrewBuddy on MacOS

Pim Bliek edited this page Jan 24, 2019 · 1 revision

BrewBuddy build on macOS (Darwin).

How to build / setup

  1. Make sure you have installed xcode
  2. Follow instructions for xcode command line tools as described on http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X -> Step 2. Xcode Command Line Tools
  3. Download fpcupdeluxe on https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases -> fpcupdeluxe-x86_64-darwin-cocoa.zip
  4. Install lazarus + fpc by opening the fpcupdeluxe, and clicking on the button "Install/update FPC+Laz" and be patient for a while
  5. Now checkout this pr
  6. Start lazarus and open the file "brewbuddy_osx.lpi"
  7. Open the Options in the Project Inspector
  8. Navigate to "Project Options" -> "Application" and click on the button "Create application bundle" in the section "For macOS (Darwin)"
  9. After that, open your terminal and navigate to the project base folder
  10. Run ./Darwin-copy-resources-to-bundle.sh, which will copy the needed files from Misc to the application bundle
  11. Run the application by clicking on the play button
Clone this wiki locally