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

Builds including PromisesSwift failing on CI #203

Open
cjhines opened this issue Mar 3, 2023 · 0 comments
Open

Builds including PromisesSwift failing on CI #203

cjhines opened this issue Mar 3, 2023 · 0 comments

Comments

@cjhines
Copy link

cjhines commented Mar 3, 2023

In my iOS project I have a pod dependency which I am specifying like so:

pod 'PromisesSwift'

For some reason, the dependency PromisesObjC is appearing twice in the Podfile.lock, even when I delete this file and the Pods directory before running pod install and pod update.

  - PromisesObjC (2.2.0)
  - PromisesSwift (2.2.0):
    - PromisesObjC (= 2.2.0)

When I try and build this project on CI I get the following issue:

[!] CocoaPods could not find compatible versions for pod "PromisesObjC":
  In snapshot (Podfile.lock):
    PromisesObjC (= 2.2.0)
  In Podfile:
    PromisesSwift was resolved to 2.2.0, which depends on
      PromisesObjC (= 2.2.0)
None of your spec sources contain a spec satisfying the dependencies: `PromisesObjC (= 2.2.0), PromisesObjC (= 2.2.0)`.

How does this make any sense? Both versions are identical and yet it cannot resolve them.

I've also tried disintegrating the project and reinstalling with no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant