krzyzanowskim / OpenSSL

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

OpenSSL 1.1.1 with arm64 + SPM support #93

Closed krzyzanowskim closed 3 years ago

krzyzanowskim commented 3 years ago

OpenSSL 1.1.1 with arm64 + SPM support

Resolves #36 Resolves #75

0x5e commented 3 years ago

Thanks @krzyzanowskim , however I failed using Xcode 12.1, could you please have a look?

ld: in '/usr/local/opt/llvm/lib/libunwind.dylib', building for iOS Simulator-i386 but attempting to link with file built for macOS-x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [apps/openssl] Error 1
make[1]: *** [all] Error 2

1.1.1h-iPhoneSimulator-i386.build.log

krzyzanowskim commented 3 years ago

Hm... I'm on Xcode Version 12.2 beta 4 (aka 12.2 Release Candidate) and it builds fine. Where is this error message from?

0x5e commented 3 years ago

image the message came from make command. I didn't see the pre-complied binary you built before, if you already built it, it's fine, just ignore me :)