Closed Deadpikle closed 3 years ago
Eek. Sorry @Deadpikle, missed this. Everything still applicable post-Xcode 12 GM / Release?
No problem. I need to check -- I've not downloaded the Xcode 12 release yet. I'll have to get back to you. :)
@faithfracture Sorry, no, GM for Xcode 12 doesn't include universal binary support. There's a note on the download page: "For development on macOS Big Sur or to support Apple silicon, continue to use Xcode 12 beta 6."
So, let's keep this PR in frozen mode until there's an official version of Xcode with silicon support -- which I'm guessing will come when Big Sur comes out -- or closer to that time? Then I'll take a look at this again.
Bah, of course. Ok, sounds good to me!
@faithfracture Xcode 12.2 came out today. With it comes universal binary building and thus this PR now works!
Sample command:
./boost.sh --boost-version 1.74.0 --macos-sdk 10.15 --min-macos-version 10.10 --macos-silicon-sdk 11.0 --min-macos-silicon-version 11.0 --boost-libs "chrono date_time filesystem system timer"
Outputs:
@Anil8753 I don't know, sorry. It would require more investigation on my part, and since I don't need it for work, I don't have time for that right now.
@Deadpikle Would you mind resolving the merge conflicts? I don't use Catalyst or Silicon currently and I don't want to screw up what you've done.
Sure. Will get to it next week if I can.
After some merging and ./boost.sh --boost-libs "chrono date_time filesystem system timer"
:
Also fixed a small catalyst error in the help text that didn't affect functionality.
@faithfracture Should be good to go assuming the CI finishes successfully. Did a quick test of the sample app and it seemed to work ok for iOS Catalyst and macOS. Still don't have a silicon device to test on, though. :(
Edit: Had to update the CI script to use the latest, stable Xcode so that Xcode 12.2 was used.
Looks like CI is passing just fine 🥳
@faithfracture Ready for you whenever you are able to take a look.
This PR adds support for Apple Silicon!
This PR also fixes an issue where the
xcframework
file cannot be made if more than one arch for macOS is used (e.g. i386 with x86_64).Closes #57