passepartoutvpn / openssl-apple

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

Adds support for WatchOS Simulator on Xcode 12 (x86_64) #22

Closed AndreasVerhoeven closed 3 years ago

AndreasVerhoeven commented 3 years ago

First of all, thanks for this fork! With Xcode 12, we had issues building for the WatchOS simulator since it now seems to use x86_64 for some models. This PR adds support for that

vixentael commented 3 years ago

That's great and unbelievably cool! Thank you @AndreasVerhoeven :)

AndreasVerhoeven commented 3 years ago

As a side note: I also tried to get arm64 for WatchOS to work, but haven't been able to for now: it results in compilation errors unfortunately. Will keep working on that as well

vixentael commented 3 years ago

On a side note: we are also trying with arm64 slice for macOS, but no luck yet.

keeshux commented 3 years ago

As a side note: I also tried to get arm64 for WatchOS to work, but haven't been able to for now: it results in compilation errors unfortunately. Will keep working on that as well

Which is not the target of this PR, am I correct?

AndreasVerhoeven commented 3 years ago

Which is not the target of this PR, am I correct?

Correct! This is only for x86_64 watchOS. Sorry for the confusion!

keeshux commented 3 years ago

Nice! As a side note it'd be very helpful setting up a project for CI. Do you think that just having a "dummy main" would be enough of a sanity check for the generated libraries?

AndreasVerhoeven commented 3 years ago

Nice! As a side note it'd be very helpful setting up a project for CI. Do you think that just having a "dummy main" would be enough of a sanity check for the generated libraries?

I think most failures are compilation failures / linker failures, so a dummy main should be sufficient