Oh, thank you so much.
Recently upgraded my VM to High Sierra and Xcode 10.
Unfortunately Xcode 10 fails with a different error (Undefined symbols for architecture arm64), but then I saw this warning:
ld: warning: ignoring file ../../build/ios-arm64/libs/bootimage-bin.o, file was built for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x0C 0x00 0x00 0x01 0x0D 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture being linked (arm64): ../../build/ios-arm64/libs/bootimage-bin.o
This tool knows more:
$ lipo build/ios-arm64/libs/bootimage-bin.o -info
Non-fat file: build/ios-arm64/libs/bootimage-bin.o is architecture: cputype 16777228 cpusubtype 13
Then I suddenly remembered your posting… without it I doubt that I could find out that’s cpu type problem. So thank you very much!