passepartoutvpn / openssl-apple

A script for compiling OpenSSL for Apple Devices.
Apache License 2.0
144 stars 69 forks source link

Wrong minimum iOS version in Info.plist for iPhoneOS #30

Closed sanyesz123 closed 3 years ago

sanyesz123 commented 3 years ago

Branch: master

Steps to reproduce:

Result: In the generated iPhoneOS framework the Info.plist contains 13.0 as minimum iOS version, but in the iPhoneSimulator framework's Info.plist contains 12.0.

Expected: Both folders should contain min iOS version 12.0 in the Info.plist.

keeshux commented 3 years ago

@sanyesz123 let me know if the fix is correct, as I was facing a similar issue in my iOS app (warnings about linking 13.0 library against 12.0 app).

sanyesz123 commented 3 years ago

@keeshux please for the quick fix, I will check it. Based on your changes, this means the arm64 simulators will support only iOS apps with minimum iOS 13.0?

keeshux commented 3 years ago

It seems to be the case, the argument name (-target arm64-apple-ios13.0-simulator) pretty much sums it up.

P.S.: no wait, your question is in fact different. You wonder if apps with target <13.0 would run on macOS arm64 simulators, and I... wonder the same TBH. Try dropping the extra ios-version-min=13.0 in the targets conf and you will see the warnings I mentioned earlier, then perhaps interpret them yourself.