Build settings from command line:
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos14.2
SKIP_INSTALL = YES
STRIP_INSTALLED_PRODUCT = NO
note: Using new build system
note: Building targets in parallel
note: Using codesigning identity override:
note: Planning build
note: Constructing build description
error: Building for iOS, but the linked library 'libssl.a' was built for iOS Simulator. (in target 'OpenSSL (iOS Simulator)' from project 'OpenSSL')
error: Building for iOS, but the linked library 'libcrypto.a' was built for iOS Simulator. (in target 'OpenSSL (iOS Simulator)' from project 'OpenSSL')
Just trying to install OpenSSL using Carthage and Xcode 12.2, and it its failing to install.
The error I'm seeing is: carthage update --platform iOS
*** Building scheme "OpenSSL (iOS Simulator)" in OpenSSL.xcodeproj Build Failed Task failed with exit code 65: /usr/bin/xcrun xcodebuild -project /Users/andy/dev/xxxxxxxx/iOS/xxxxxxxx/xxxxxxxx/Carthage/Checkouts/OpenSSL/OpenSSL.xcodeproj -scheme OpenSSL\ (iOS\ Simulator) -configuration Release -derivedDataPath /Users/andy/Library/Caches/org.carthage.CarthageKit/DerivedData/12.2_12B45b/OpenSSL/1.1.171 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/34/c1zmvxyx6_58fy_cbfdwff980000gn/T/OpenSSL SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/andy/dev/xxxxxxxx/iOS/xxxxxxxx/xxxxxxxx/Carthage/Checkouts/OpenSSL)
Looking at the build log: ......
Build settings from command line: CARTHAGE = YES CLANG_ENABLE_CODE_COVERAGE = NO CODE_SIGN_IDENTITY = CODE_SIGNING_REQUIRED = NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO ONLY_ACTIVE_ARCH = NO SDKROOT = iphoneos14.2 SKIP_INSTALL = YES STRIP_INSTALLED_PRODUCT = NO
note: Using new build system note: Building targets in parallel note: Using codesigning identity override: note: Planning build note: Constructing build description error: Building for iOS, but the linked library 'libssl.a' was built for iOS Simulator. (in target 'OpenSSL (iOS Simulator)' from project 'OpenSSL') error: Building for iOS, but the linked library 'libcrypto.a' was built for iOS Simulator. (in target 'OpenSSL (iOS Simulator)' from project 'OpenSSL')
Any ideas what I'm doing wrong?