krzyzanowskim / OpenSSL

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

Add support for 32-bit iOS Simulator #73

Closed ilammy closed 4 years ago

ilammy commented 4 years ago

Fixes #72

Currently it not possible to build OpenSSL for iOS Simulators because of issue #72. @OrfeasZ has suggested a fix which seems to be working. However, it did not quite work for me because the new header files were not added to the produced framework (headers should be public in the Xcode project).

This PR includes the original changes by @OrfeasZ plus that minor fix, and does not include any updates in the binaries and headers. @krzyzanowskim, I guess you should perform the rebuild yourself in your controller environment and commit binaries to the repo later, after this PR is merged. Please note new files that should be added (git add . will do):

Frameworks/ios/OpenSSL.framework/Headers/opensslconf-i386.h
ios/include/openssl/opensslconf-i386.h

Thank you @OrfeasZ for figuring out how to build OpenSSL for i386 simulator!

krzyzanowskim commented 4 years ago

awesome! thank you for the contribution❣️