Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: enable building frameworks for Catalyst #36856
As of macOS 10.15, users can build iPad apps to run on macOS using Catalyst. However if you build a framework using gomobile, even though the framework has support for
To fix this, all you need to do is target clang for the macOS sdk & add a cflag with
Gomobile should support specifying a target
case "catalyst": clang, cflags, err = envClang('macosx') cflags += " -target x86_64-apple-ios13.0-macabi"