Skip to content

Error when adding Package in Xcode #222

Closed

Description

@duncangroenewald

Description

Package Resolution Failed

sqlite-data could not be resolved:

/ sqlite-data
/ Updating from https://github.com/pointfreeco/sqlite-data
Failed to resolve dependencies Dependencies could not be resolved because root depends on 'sqlite-data' 1.0.0..<2.0.0.
unexpectedly did not find the new dependency in the package graph: sourceControl(identify: sqlite-data, location: SwiftPM.SPMPackageDependency.Source...

The add button becomes "Add anyway" and it seems to be added to the Xcode project. Haven't tested any further yet.

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • I have determined whether this bug is also reproducible in a vanilla GRDB project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

Don't expect to get this error message

Actual behavior

No response

Reproducing project

No response

SQLiteData version information

No response

Sharing version information

No response

GRDB version information

No response

Destination operating system

No response

Xcode version information

No response

Swift Compiler version information

Activity

  1. mbrandonw commented on Sep 25, 2025

    @mbrandonw
    Member

    Hi @duncangroenewald, can you please provide a project that demonstrates the problem you are seeing? There is not enough info to go off of right now.

  2. duncangroenewald commented on Sep 25, 2025

    @duncangroenewald
    Author

    It might be easier to simply create a new macOS app project and then add the package as a dependency.

  3. mbrandonw commented on Sep 25, 2025

    @mbrandonw
    Member

    I did and it worked just fine, so please provide a project that reproduces the problem.

    Since this doesn't seem to be an issue with the library I am going to convert it to a discussion.

  4. locked and limited conversation to collaborators on Sep 25, 2025
  5. converted this issue into a discussion #223 on Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions