Skip to content

Example not working #23

@dirkjanfaber

Description

@dirkjanfaber

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?

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