Xcode SwiftPM integration bug with "Missing package product"
- Open
XcodeBug.xcodeproj
in themaster
branch, build and run, all will succeed. - Without closing Xcode, check out
test-branch
and try to build. - You'll see this:
The only work around that helps with this bug is to completely close Xcode and reopen the project. This also causes all SwiftPM dependencies to be re-resolved in the project, which can take some time if you have multiple dependencies.