Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift 6.0 support #67

Open
EddieMeng opened this issue Dec 26, 2024 · 0 comments
Open

Swift 6.0 support #67

EddieMeng opened this issue Dec 26, 2024 · 0 comments

Comments

@EddieMeng
Copy link

EddieMeng commented Dec 26, 2024

Hello, @andriydruk I’d like to ask if this toolchain now supports Swift 6.0? I noticed that the Swift 6.0 branch on GitHub Actions can successfully build, but when I tried using the Swift 6.0 branch to build swift-android and then tested it in my local environment, I encountered below error, Thank you for your reply.

Environment:

MacOS: Sonoma 14.6.1 (Apple M3 Pro)
Xcode Version: 15.4
Swift: Apple Swift version 6.0 (swift-6.0-RELEASE)

Error:
'swift': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xt/rmkkjp5d7l1db42_yh96_t680000gp/T/TemporaryDirectory.MXGZ7P/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "x86_64-apple-macosx13.0", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-L", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/macosx/testing", "-plugin-path", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Library/Developer/Toolchains/swift-6.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-package-description-version", "6.0.0", "/android/app/src/main/swift/Package.swift", "-DTARGET_ANDROID", "-o", "/var/folders/xt/rmkkjp5d7l1db42_yh96_t680000gp/T/TemporaryDirectory.mleoor/swift-manifest"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant