Skip to content

compile macos

Tom5521 edited this page Jan 17, 2024 · 2 revisions

Compilation for MacOS

The output of the compilation will be found in fyne-cross/dist/

Native MacOS system

Requirements:

  • Fyne package
  • C compiler
  • Go compiler
  • Mage
  • Zip (To release the package)

Instructions:

  • Run mage build:defaultMac

Alternative way for all systems

Requirements:

Instructions:

  • Download Command line tools for xcode>= 12.4 (macOS SDK 11.x)
  • Extract it following the instructions
  • Create the SDKs folder and inside paste or create a symlink to MacOSX11.sdk
  • Run mage build:macARM or mage build:macAMD depending on what architecture you are looking to compile for