An open API service indexing awesome lists of open source software.

https://github.com/maxdesiatov/swiftpm-xcode-bug

Xcode SwiftPM integration bug with "Missing package product"
https://github.com/maxdesiatov/swiftpm-xcode-bug

Last synced: 7 months ago
JSON representation

Xcode SwiftPM integration bug with "Missing package product"

Awesome Lists containing this project

README

          

# swiftpm-xcode-bug
Xcode SwiftPM integration bug with "Missing package product"

## Steps to reproduce

1. Open `XcodeBug.xcodeproj` in the `master` branch, build and run, all will succeed.
2. Without closing Xcode, check out `test-branch` and try to build.
3. You'll see this:

![error image](error.png)

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.