Skip to content

"Package resolution errors must be fixed before building" #6

Discussion options

You must be logged in to vote

@sherryycxie Thank you for posting your question!

As @vishnuravi noted, sometimes Xcode has a few problems cleaning out issues or invalidating the dependency check. If you run into problems that you can't easily sport the error for, we do generally advise:

  • Check the report navigator for issues (especially also on a Project-based level regarding your Swift Package)
  • Clean all issues using Product > Clear All issues and try to run the build again: Product > Build (⌘B)
  • To rebuild all files in a project, choose Product > Clean Build Folder (⇧⌘K) and try to run the build again: Product > Build (⌘B)

If you modify your Swift Package and add a target, make sure that all targets are separated by …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@PSchmiedmayer
Comment options

@sherryycxie
Comment options

sherryycxie Jan 21, 2023
Collaborator Author

Answer selected by PSchmiedmayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants