Closed bryjch closed 4 years ago
Hi, @bryjch ! It looks like Xcode 11 includes some changes in internal framework structure, so I also have problems building old version. Is there a reason you don't want to try our latest versions? They work fine with latests swift/Xcode
Hi @SanjoDeundiak , a third party library I'm using has virgil-crypto-x@3.2.2
as a dependency. 😅
@bryjch what library is it?
@bryjch you can try to download prebuilt binaries and link them without Carthage usage. https://github.com/VirgilSecurity/virgil-sdk-x/releases/tag/5.8.0 https://github.com/VirgilSecurity/virgil-cryptoapi-x/releases/tag/1.0.6 https://github.com/VirgilSecurity/virgil-crypto-x/releases/tag/3.2.3 https://github.com/VirgilSecurity/virgil-crypto-x/tree/3.2.3/VSCCrypto/PrebuiltFramework Theoretically, swift ABI stability should allow you to run your swift 5.1 compiled app with swift 5.0 built frameworks
@SanjoDeundiak I have given this a shot - although I believe some of the prebuilt binaries are still built with 4.2.1 - I believe with the following:
VirgilCrypto.framework
VirgilCryptoApiImpl.framework
@bryjch still should work https://docs.swift.org/swift-book/GuidedTour/Compatibility.html
@bryjch also, I wrote a letter to Clay, requesting update of their dependencies to our latests versions
@bryjch still should work https://docs.swift.org/swift-book/GuidedTour/Compatibility.html
Strange.. I am still encountering an error during build phase:
CopySwiftLibs /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Products/Debug-iphoneos/example-app.app (in target 'example-app' from project 'example-app')
cd /Users/Bryan/Github/ExampleApp/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk
builtin-swiftStdLibTool --copy --verbose --sign 48FAE0B31A9F8442D4D72E6B08E312A80D173B6B --scan-executable /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Products/Debug-iphoneos/example-app.app/example-app --scan-folder /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Products/Debug-iphoneos/example-app.app/Frameworks --scan-folder /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Products/Debug-iphoneos/example-app.app/PlugIns --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreBluetooth.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/Foundation.framework --scan-folder /Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilCrypto.framework --scan-folder /Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilCryptoApiImpl.framework --scan-folder /Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilCryptoAPI.framework --scan-folder /Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilSDK.framework --scan-folder /Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VSCCrypto.framework --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Products/Debug-iphoneos/example-app.app/Frameworks --strip-bitcode --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/Bryan/Github/ExampleApp/ios/DerivedData/example-app/Build/Intermediates.noindex/example-app.build/Debug-iphoneos/example-app.build/SwiftStdLibToolInputDependencies.dep
error: The following binaries use incompatible versions of Swift:
/Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilCrypto.framework/VirgilCrypto
/Users/Bryan/Github/ExampleApp/ios/example-app/Clay/Framework/VirgilSDK.framework/VirgilSDK (in target 'example-app' from project 'example-app')
Although it might be due to my project configuration. I will continue to test this.
@bryjch also, I wrote a letter to Clay, requesting update of their dependencies to our latests versions
👌
@bryjch you can try to set whole project to build with swift 4.x, just to make it work for now
Hello,
I am attempting to use Carthage to build version 3.2.3 this library and am encountering an error while building Using Xcode 11.0 / Swift 5.1.
Xcode version: 11.0
Swift version: 5.1
Cartfile:
Error:
Is this a problem due to Swift 5.1?