4 ms·
Xcode build tools. Right now you practically need a macOS machine to compile applications for macOS or iOS.
by LoganDark 3y ago
Xcode build tools. Right now you practically need a macOS machine to compile applications for macOS or iOS.
- IshKebab 3y agoFor command line apps you can cross-compile from Linux. IIRC it does require building Clang from source, and obtaining a Mac SDK (which is probably against their T&C's) but there are pre-made scripts to do it (there's a good GitHub Actions one). That said, I only do that for free projects. For commercial stuff I'd just buy a Mac Mini.
- ptspts 3y agoOn a Linux host, use pts-osxcross (https://github.com/pts/pts-osxcross https://github.com/pts/pts-osxcross) to target macOS, it contains Clang and other build tools precompiled for Linux amd64.