krzyzanowskim / OpenSSL

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

arm64 Openssl iPhoneSimulator artefacts missing #89

Closed priteshrnandgaonkar closed 3 years ago

priteshrnandgaonkar commented 3 years ago

With Xcode 12, arm64 Simulators are supported, right now our project fails to build when run on command line with xcodebuild, as it tries to find the arm64 artefacts for simulator and there isn't one. I see the following error

ld: in /sonar/iOS/Sample/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o), building for iOS Simulator, but linking in object file built for iOS, file '/sonar/iOS/Sample/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64

Can we have arm64 artefacts for iPhoneSimulator

krzyzanowskim commented 3 years ago

There's marcin/1.1.1-lts branch where I updated scripts. I built it on Big Sur, as I failed to build arm64 artifacts on Catalina. Maybe you have more luck in that?

https://github.com/krzyzanowskim/OpenSSL/issues/36#issuecomment-665922429