The arm64 target for iOS Simulator, however, had to be temporarily disabled (see https://github.com/cossacklabs/openssl-apple/pull/12) in podspec, due to lipo being unable to cope with same architecture for different platforms (namely iOS and iOS Simulator). In other words, current script can't handle ios-sim-cross-arm64 and ios64-cross-arm64 targets together, because lipo would fail in that case.
This PR backports https://github.com/balthisar/openssl-xcframeworks/pull/6 and integrates 3 new targets:
The arm64 target for iOS Simulator, however, had to be temporarily disabled (see https://github.com/cossacklabs/openssl-apple/pull/12) in podspec, due to
lipo
being unable to cope with same architecture for different platforms (namely iOS and iOS Simulator). In other words, current script can't handleios-sim-cross-arm64
andios64-cross-arm64
targets together, becauselipo
would fail in that case.This will be eventually fixed by moving to XCFrameworks.