Skip to content

SPM Support #72

@abegehr

Description

@abegehr

Describe the bug

Trying to use the plugin in a CapacitorJS app with Swift Package Manager fails.

To Reproduce

  1. Create a new app with CapacitorJS using SPM for dependencies.
  2. Install the app review package.
  3. Run, and fails.

Expected behavior
I expect it to work with SPM.

Additional context

Logs from Xcode Cloud:

Could not resolve package dependencies: fatalError the package manifest at '/Volumes/workspace/repository/node_modules/.pnpm/@capacitor-community+in-app-review@7.0.0_@capacitor+core@7.0.1/node_modules/@capacitor-community/in-app-review/Package.swift' cannot be accessed (/Volumes/workspace/repository/node_modules/.pnpm/@capacitor-community+in-app-review@7.0.0_@capacitor+core@7.0.1/node_modules/@capacitor-community/in-app-review/Package.swift doesn't exist in file system) the package manifest at '/Volumes/workspace/repository/node_modules/.pnpm/@capacitor-community+in-app-review@7.0.0_@capacitor+core@7.0.1/node_modules/@capacitor-community/in-app-review/Package.swift' cannot be accessed (/Volumes/workspace/repository/node_modules/.pnpm/@capacitor-community+in-app-review@7.0.0_@capacitor+core@7.0.1/node_modules/@capacitor-community/in-app-review/Package.swift doesn't exist in file system)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions