This PR adds the ability to generate arm64 slices for both the iphonesimulator and appletvsimulator sdks. It also fixes an issue that currently exists with the .xcframework implementation.
.xcframeworks expect to have one folder/slice for each platform it supports, so one slice for iphoneos, one for iphonesimulator, and so on. The current implementation will break if you attempt to build for iOS with a minimum iOS version of 9.0:
% ./boost.sh -ios --min-ios-version 9.0
..... Building building building .....
Both ios-x86_64-simulator and ios-1386-simulator represent two equivalent library definitions.
... more failures because the xcframework was not built.
Done
================================================
Completed successfully
%
The solution is to lipo all of the architectures for a given platform and then use that fat library with the xcodebuild -create-framework command.
This PR adds the ability to generate
arm64
slices for both theiphonesimulator
andappletvsimulator
sdks. It also fixes an issue that currently exists with the.xcframework
implementation..xcframeworks
expect to have one folder/slice for each platform it supports, so one slice foriphoneos
, one foriphonesimulator
, and so on. The current implementation will break if you attempt to build for iOS with a minimum iOS version of9.0
:The solution is to lipo all of the architectures for a given platform and then use that fat library with the
xcodebuild -create-framework
command.