krzyzanowskim / OpenSSL

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

OpenSSL 1.0.2.x with XCode12 support #110

Closed 666tos closed 4 months ago

666tos commented 3 years ago

Hi @krzyzanowskim , currently 1.0.2 is still an actual version, but it's not fully compatible with XCode12 due to ios.deployment_target = 8.0. Is it possible to bump deployment_target and re-release 1.0.2?

krzyzanowskim commented 3 years ago

tbh. I don't know how/if to do that for CocoaPods if the newer version is already published.

666tos commented 3 years ago

Ok, I will try to fork the repo and experiment with it

666tos commented 3 years ago

Created PR here - https://github.com/krzyzanowskim/OpenSSL/pull/111

LunightLab commented 3 years ago

Hi I imported the framework that I built before and I get the following runtime error Doesn't it work in xcode 12 and Swift environment?

openssl version : 1.0.219

error message

dyld: Library not loaded: @rpath/OpenSSL.framework/OpenSSL
  Referenced from: /Users/w.lunight/Library/Developer/CoreSimulator/Devices/03AE5719-0658-4E83-A36C-14C970619177/data/Containers/Bundle/Application/65972123-C289-4EB6-91E9-43C5C7F00FE5/AppTestProject.app/AppTestProject
  Reason: image not found
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/w.lunight/Library/Developer/CoreSimulator/Caches/dyld/20C69/com.apple.CoreSimulator.SimRuntime.iOS-14-3.18C61
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/w.lunight/Library/Developer/Xcode/DerivedData/AppTestProject-fmpjygvszdbcotddcqclngbpogws/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_PRINT_STATISTICS=1
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.p
krzyzanowskim commented 4 months ago

Closing as "wont fix". I don't plan to support 1.0.x anymore. Feel free to maintain forks for your purpose.