krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
907 stars 334 forks source link

Mark OpenSSL as Extension-safe #126

Closed mangerlahn closed 3 years ago

mangerlahn commented 3 years ago

Hi,

thanks for this project! I use OpenSSL in an app extension. There, I get the warning linking against dylib not safe for use in application extensions.

I assume that OpenSSL does not use any APIs that is forbidden in extensions and can be marked as extension-safe. If that is not the case, this PR can be closed.

I have tested this locally and after rebuilding the frameworks and the .xcframework, the warning disappeared. I am not sure if you want to perform the framework rebuilt yourself, so I only committed the config change. I can add the new binaries if you want me to.

krzyzanowskim commented 3 years ago

thank you!