ipfs-shipyard / gomobile-ipfs

IPFS and libp2p on Mobile, with Gomobile
Other
319 stars 62 forks source link

Support iossimulator in Makefile #123

Closed jefft0 closed 2 years ago

jefft0 commented 2 years ago

In packages, make test_bridge.ios fails. But if I add iossimulator as a gobind target, then it succeeds:

$(GOMOBILE) bind $(GOMOBILE_OPT) -target=ios,iossimulator,macos,maccatalyst$(GOMOBILE_TARGET) -o $(IOS_CORE) $(CORE_PACKAGE) $(EXT_PACKAGE)

Do we want gobind to build the iossimulator target every time? If yes, then I can do a pull request to add it. If not, then we need to change the Makefile to build it for make test_bridge.ios (more complicated).

jefft0 commented 2 years ago

Need to update the Makefile similar to Berty which should fix this issue. Closing