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

Example not working #23

Open
dirkjanfaber opened this issue Dec 12, 2020 · 0 comments
Open

Example not working #23

dirkjanfaber opened this issue Dec 12, 2020 · 0 comments

Comments

@dirkjanfaber
Copy link

I am having some troubles getting the example working. After cloning the repo I cd to the Example directory and issue pod update, resulting in:

Update all pods
Updating local specs repositories
  $ /usr/local/bin/git -C /Users/dirk-jan/.cocoapods/repos/cocoapods fetch origin --progress
  remote: Enumerating objects: 1657, done.
  remote: Counting objects: 100% (1657/1657), done.
  remote: Compressing objects: 100% (427/427), done.
  remote: Total 2844 (delta 1368), reused 1405 (delta 1207), pack-reused 1187
  Receiving objects: 100% (2844/2844), 398.61 KiB | 1.85 MiB/s, done.
  Resolving deltas: 100% (1860/1860), completed with 631 local objects.
  From https://github.com/CocoaPods/Specs
     0da2ac7de199..3e3c5b4566a3  master     -> origin/master
  $ /usr/local/bin/git -C /Users/dirk-jan/.cocoapods/repos/cocoapods rev-parse --abbrev-ref HEAD
  master
  $ /usr/local/bin/git -C /Users/dirk-jan/.cocoapods/repos/cocoapods reset --hard origin/master
  HEAD is now at 3e3c5b4566a3 [Add] FinApplet 2.13.17
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Particle-SDK":
  In Podfile:
    Particle-SDK (from `../`)

Specs satisfying the `Particle-SDK (from `../`)` dependency were found, but they required a higher minimum deployment target.

If I do a pod install instead, I get:

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "AFNetworking":
  In snapshot (Podfile.lock):
    AFNetworking (= 3.2.1, ~> 3.0)

  In Podfile:
    Particle-SDK (from `../`) was resolved to 1.0.5, which depends on
      Particle-SDK/Helpers (= 1.0.5) was resolved to 1.0.5, which depends on
        AFNetworking (~> 4.0)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `AFNetworking` inside your development pod `Particle-SDK`.
   You should run `pod update AFNetworking` to apply changes you've made.

Even if I do the pod repo update, afterwards I still get the above error message. Any thoughts on how to resolve this?

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