ios – “Couldn’t discover appropriate variations” error on pod set up in Github Motion Workflow


As a part of a Github Motion workflow (that we’re operating on a self-hosted runner – a mac-mini) we’ve a cocoapod set up step:

- identify: Set up CocoaPods
  run: bundle exec pod set up --deployment
  working-directory: ios

Nevertheless, when this motion runs we get the next error:

 [!] CocoaPods couldn't discover appropriate variations for pod "mParticle-Apple-SDK":
  In snapshot (Podfile.lock):
    mParticle-Apple-SDK (= 8.12.0)

  In Podfile:
    mParticle-Apple-SDK (= 8.12.0)

None of your spec sources comprise a spec satisfying the dependencies: `mParticle-Apple-SDK (= 8.12.0), mParticle-Apple-SDK (= 8.12.0)`.

I’m not in a position to replicate this subject regionally (pods set up high-quality) and I’ve tried all the recommendation I can discover on-line, e.g. pod repo replace, pod set up --repo-update, deleting the Podfile.lock and regenetating it with a recent set up and many others., however it doesn’t matter what we maintain getting the identical error about incompatible variations between the Podfile and Podfile.lock (despite the fact that they’re equivalent as you may see above).

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles