Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Resolution Failed: Invalid Manifest when installing a library with an Apollo dependency #3402

Closed
sa-ma opened this issue Jul 3, 2024 · 2 comments
Labels
awaiting response question Issues that have a question which should be addressed

Comments

@sa-ma
Copy link

sa-ma commented Jul 3, 2024

Question

I don't know if this is the right place to ask this.

I developed a library with Swift Package Manager that uses Apollo for network calls. The problem is that the Swift package manager does not allow the installation of remote packages with a local target SE-0201 60, this stops me from adding my Swift package to other applications. Apollo Schema uses a local target for adding a schema to the Swift package so there is a conflict. Is there any way around this?

@sa-ma sa-ma added the question Issues that have a question which should be addressed label Jul 3, 2024
@calvincestari
Copy link
Member

Hi @sa-ma - I'm not sure whether I understand your issue correctly.

What I think you're describing is that you're trying to distribute your own Swift package that uses Apollo iOS but as a local dependency? To do that you'd need to ensure that any project using your Swift package had already manually cloned the Apollo iOS repo to the path defined in your Package.swift file. This is not the way that Swift packages are meant to be distributed.

Why do you need a local dependency vs. the remote dependency?

@calvincestari calvincestari closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2024
Copy link
Contributor

github-actions bot commented Jul 3, 2024

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response question Issues that have a question which should be addressed
Projects
None yet
Development

No branches or pull requests

2 participants