mobile_nebula/nebula/Makefile
Ian VanSchooten fcf21f6f6b
Fix issues with new xcode builds (#177)
John found an issue in gomobile that seems to be the culprit of one of these issues: https://github.com/golang/go/issues/53316#issuecomment-2407626810
2024-10-11 11:21:34 -04:00

21 lines
527 B
Makefile

111MODULE = on
export GO111MODULE
unexport SWIFT_DEBUG_INFORMATION_VERSION
unexport SWIFT_DEBUG_INFORMATION_FORMAT
clean:
rm -rf mobileNebula.aar MobileNebula.xcframework
mobileNebula.aar: *.go go.sum
go get -d golang.org/x/mobile/cmd/gomobile
gomobile bind -trimpath -v --target=android -androidapi 26
MobileNebula.xcframework: *.go go.sum
go get -d golang.org/x/mobile/cmd/gomobile
gomobile bind -trimpath -v -target=ios
.DEFAULT_GOAL := mobileNebula.aar
.PHONY: clean
all: mobileNebula.aar MobileNebula.framework