-
Notifications
You must be signed in to change notification settings - Fork 11
Building BrewBuddy on MacOS
Pim Bliek edited this page Jan 24, 2019
·
1 revision
BrewBuddy build on macOS (Darwin).
- Make sure you have installed xcode
- 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
- Download fpcupdeluxe on https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases -> fpcupdeluxe-x86_64-darwin-cocoa.zip
- Install lazarus + fpc by opening the fpcupdeluxe, and clicking on the button "Install/update FPC+Laz" and be patient for a while
- Now checkout this pr
- Start lazarus and open the file "brewbuddy_osx.lpi"
- Open the Options in the Project Inspector
- Navigate to "Project Options" -> "Application" and click on the button "Create application bundle" in the section "For macOS (Darwin)"
- After that, open your terminal and navigate to the project base folder
- Run ./Darwin-copy-resources-to-bundle.sh, which will copy the needed files from Misc to the application bundle
- Run the application by clicking on the play button