godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Recommend using Xcode SDK directly on Linux by extracting it instead of using OSXCross

Open mccakit opened this issue 3 weeks ago • 0 comments

Just using llvm is enough to cross compile to mac and ios from a linux host, osxcross is not needed at all and is mostly counterproductive. What needs to be done is:

  • tellthe users to get an Apple account, or borrow one
  • download XCode
  • Extract it using https://github.com/bitcoin-core/apple-sdk-tools
  • Use the sysroot with clang with fllags like -isysroot and -mmacos-version-min and link to the compiler-rt libclang_rt.osx.a

Osxcross is just not worth dealing with, when you can just use llvm

mccakit avatar Nov 22 '25 09:11 mccakit