passepartoutvpn / openssl-apple

A script for compiling OpenSSL for Apple Devices.
Apache License 2.0
139 stars 65 forks source link

Fix support for WatchOS Simulator on Xcode 12.4 (ARM64) #38

Closed lmmenge closed 3 years ago

lmmenge commented 3 years ago

Since Xcode 12 and throughout Xcode 12.4, Apple seems to be hardening the validation of Xcframeworks that are used in iOS/watchOS projects. This PR attempts to make the generated Xcframework complete enough that Xcode won't complain when used on watchOS projects:

lmmenge commented 3 years ago

This should also fix this issue: https://github.com/keeshux/openssl-apple/issues/31

vixentael commented 3 years ago

💪

lmmenge commented 3 years ago

The automated checks seem to be running on top of Xcode 12.2. This PR assumes you're running at least Xcode 12.4.

keeshux commented 3 years ago

@lmmenge thanks for the PR. Could you please split the commit in two and repush force? Upgrade OpenSSL version, then fix watchOS targets in a separate commit.

P.S.: 12.2 is the highest Xcode version that Travis-CI supports.

lmmenge commented 3 years ago

@keeshux Sorry for the compounded changes. I've made the changes!