x/mobile/bind: support macOS framework #31258
Labels
FrozenDueToAge
help wanted
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
gomobile bind
can support building macOS frameworks by simply changing the build environment configuration. As a proof of concept, I replaced the iOS simulator SDK with the macOS SDK in this commit. I have successfully integrated the resulting framework into a macOS Xcode project.I propose allowing
macos
as a build target forbind
, with386
andx86_64
as supported architectures. This can be accomplished by passing the command (ie.build|bind
) toparseBuildTarget
andbuildEnvInit
.Please let me know if you are open to this proposal, or if you need more details. I'm happy to implement it with your guidance.
Related: #13310
The text was updated successfully, but these errors were encountered: