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
If you move an package's directory between builds, the build fails with this error:
<unknown>:0: error: PCH was compiled with module cache path '/private/tmp/foo/.build/x86_64-apple-macosx10.10/debug/ModuleCache/F6Q938U2LW28', but the path is currently '/private/tmp/bar/.build/x86_64-apple-macosx10.10/debug/ModuleCache/F6Q938U2LW28'
<unknown>:0: error: missing required module 'SwiftShims'
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/bar/.build/debug.yaml main output:
To reproduce:
cd /tmp
mkdir foo
cd foo
swift package init
swift build
cd ..
mv foo bar
cd bar
swift build
I believe you also can have this same issue when you change Xcode versions between builds.
I think in both of these cases, the files should just be rebuilt automatically, instead of having to `rm -rf .build` and build again.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: ed63257651ef0e1c7e496441a99b4139
Issue Description:
If you move an package's directory between builds, the build fails with this error:
To reproduce:
I believe you also can have this same issue when you change Xcode versions between builds.
I think in both of these cases, the files should just be rebuilt automatically, instead of having to `rm -rf .build` and build again.
The text was updated successfully, but these errors were encountered: