Cross compiling for macOS with CGo

When cross compiling for macOS, it's necessary to install the SDK (Software Development Kit) from Apple as well as a suitable compiler. The instructions for Windows (using MSYS2—described in the previous AppendixInstallation Details) and Linux are almost identical; the main work is to install the macOS SDK.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.117.212