jerson / openpgp-mobile

Native code used in react-native-fast-openpgp and flutter-openpgp
https://github.com/jerson/flutter-openpgp
MIT License
24 stars 10 forks source link

Fix darwin target to work in github actions #6

Closed geoah closed 3 years ago

geoah commented 3 years ago

Firstly I wanted to say thank you for your work. OpenPGP mobile and it's flutter sister repo are one of the best and most complete examples on building golang and flutter integrations.

While trying to do something similar in a different golang project of mine, I bumped into what is possibly the same issue you were having that resulted in only bulding the x86_64 variant for macos.

This PR simply adds the SDKROOT as suggested in https://github.com/golang/go/issues/44112#issue-801809091

Tried running this on my fork and seems ok.

jerson commented 3 years ago

hi @geoah thanks you so much for this, im gonna merge it and check if works for me 👍🏽