gomobile-ipfs icon indicating copy to clipboard operation
gomobile-ipfs copied to clipboard

make build_core.ios report an error

Open DarknessFall opened this issue 3 years ago • 1 comments

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'

DarknessFall avatar Mar 30 '22 10:03 DarknessFall

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 avatar Jul 05 '22 11:07 jefft0