You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fresh install of Swift 5.6 on Windows 10 results in compile time error
"module compiled with Swift 5.5.1 cannot be imported by the Swift 5.6.1 compiler"
The text was updated successfully, but these errors were encountered:
Remove-Item -Path "C:\Library\Developer\Toolchains\swift-*" -Recurse -Force
Invoke-WebRequest -Uri "https://swift.org/builds/swift-5.6.1-release/windows10/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-windows10.exe" -OutFile "SwiftInstaller.exe"
Start-Process -FilePath "SwiftInstaller.exe" -ArgumentList "/S" -Wait
$env:Path += ";C:\Library\Developer\Toolchains\swift-5.6.1-RELEASE\usr\bin"
$env:SWIFT_EXEC = "C:\Library\Developer\Toolchains\swift-5.6.1-RELEASE\usr\bin\swift.exe"
swift --version
# Clean and rebuild your project
# Replace the following command with your project's build command
# For example, if you're using Xcode, replace it with "xcodebuild clean build"
# If you're using another build system or IDE, update the command accordingly
# Invoke-Expression -Command "<YourBuildCommand>"
Also this type of question maybe try to fix it yourself
fresh install of Swift 5.6 on Windows 10 results in compile time error
"module compiled with Swift 5.5.1 cannot be imported by the Swift 5.6.1 compiler"
The text was updated successfully, but these errors were encountered: