faithfracture / Apple-Boost-BuildScript

Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
279 stars 111 forks source link

Fatal Error when I run the script on an M1 Mac #83

Open dhilowitz opened 1 year ago

dhilowitz commented 1 year ago

I'm running on an M1 Mac with the latest Xcode. I tried running the script with the following settings:

./boost.sh -ios -macos

And I got this output error:

...
Splitting all existing fat binaries...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: input file (iphonesim-build/stage/lib/libboost_atomic.a) must be a fat file when the -thin option is specified

I ran the same command on my old Intel Mac from 2016 and it worked beautifully.