krzyzanowskim / OpenSSL

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

openssl 3.0.0 compile error #129

Closed lnking2013 closed 2 years ago

lnking2013 commented 2 years ago

xcrun -sdk iphonesimulator cc -Iinclude -Iproviders/implementations/include -Iproviders/common/include -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -fno-common -fembed-bitcode -mios-version-min=7.0 -mios-simulator-version-min=7.0 -arch i386 -O3 -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -c -o providers/legacy-dso-legacyprov.o providers/legacyprov.c

xcrun -sdk iphonesimulator cc -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -fno-common -fembed-bitcode -mios-version-min=7.0 -mios-simulator-version-min=7.0 -arch i386 -O3 -L. -bundle -Wl,-search_paths_first \ -o providers/legacy.dylib \ providers/legacy-dso-legacyprov.o \ providers/liblegacy.a providers/libcommon.a -lcrypto
ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [providers/legacy.dylib] Error 1 make[1]: [build_sw] Error 2

krzyzanowskim commented 2 years ago

This repository is all about provide a precompiled version of openssl to solve building problems like this one. Version 3.0.0 is not supported at the moment. I can only forward you to https://github.com/openssl/openssl for enquiry about building issues.