ipfs-shipyard / gomobile-ipfs

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

make build_core.ios report an error #115

Closed DarknessFall closed 1 year ago

DarknessFall commented 2 years ago

In the Makefile,

CleanShot 2022-03-30 at 18 50 35@2x

If I remove the maccatalyst target it will works, or else it will report an clang error: clang: error: invalid version number in '-target arm64-apple-ios13.0-macabi'

jefft0 commented 2 years ago

I confirm this build error on macOS 12 with Xcode 13.4.1. As mentioned,make build_core.ios prints:

clang: error: invalid version number in '-target arm64-apple-ios13.0-macabi'

And as mentioned, it builds if you remove the maccatalyst target in the Makefile.

But it builds correctly (with maccatalyst) on macOS 10.15 with Xcode 12.4 and macOS 11 with Xcode 13.2.1 . @DarknessFall , what is your macOS and Xcode version?

jefft0 commented 1 year ago

Hello @DarknessFall . Did the above comments resolve your problem. The current version of the Makefile doesn't have maccatalyst. If you don't have any more questions, then in 21 days we'll close this issue as resolved.

jefft0 commented 1 year ago

No more questions. Closing as resolved.