Select to view content in your preferred language

Unable to update ArcGIS Runtime SDK for iOS from 10.2.5 to 100.1.1

1648
4
11-30-2017 02:57 AM
MadhuA
by
Emerging Contributor

I'm using ESRI maps in my application, currently due to some features we are sticking the cocoa pods version to 0.39.0. Now i'm trying to update ArcGIS runtime sdk version to 100.1.1 from my earlier version which is 10.2.5. So i have made the modifications in my pod file which pointing to v 100.1.1 and when i run pod install, i'm getting the below error.

Analyzing dependencies

[!] Unable to satisfy the following requirements:

- `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)` required by `Podfile`

- `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)` required by `Podfile`

- `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)` required by `Podfile`

- `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)` required by `Podfile`

[!] CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`

My question is the latest v 100.1.1 compatible with cocoa pods v 0.39.0? 

Any help is much appreciated.

Thank you.

0 Kudos
4 Replies
Nicholas-Furness
Esri Regular Contributor

Have you tried "pod repo update --verbose" to update your local cocoapods repo cache?

Failing that, you could try to manually delete the cache folder in ~/Library/Caches/CocoaPods

0 Kudos
MadhuA
by
Emerging Contributor

Hi Nicholas,

I have tried the same. I didn't work out. Is the ArcGIS Run time iOS SDk Version 100.1.1 compatible with cocoapods v0.39.0. I even tried changing the Deployment target to iOS 8 and iOS 9 in the pod file, but no luck. Please help me.

0 Kudos
MadhuA
by
Emerging Contributor

I have updated my latest pod version from 0.39.0 to v1.3.1 and even now when i try to update the or install the pod with  ArcGIS-Runtime-SDK-iOS (~> 100.1.1). This is what i'm facing.

$pod install

Re-creating CocoaPods due to major version update.

Analyzing dependencies

[!] Unable to find a specification for `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)`

$ pod outdated

Updating spec repo `master`

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master fetch origin --progress

  remote: Counting objects: 9, done.        

  remote: Compressing objects: 100% (8/8), done.        

  remote: Total 9 (delta 5), reused 0 (delta 0), pack-reused 0        

  From https://github.com/CocoaPods/Specs

     35d104c5b58..075f335e119  master     -> origin/master

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master rev-parse --abbrev-ref HEAD

  master

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master reset --hard origin/master

  HEAD is now at 075f335e119 [Add] ZPageControl 0.0.1

No pod updates are available.

$ pod update ArcGIS-Runtime-SDK-iOS

Re-creating CocoaPods due to major version update.

Updating local specs repositories

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master fetch origin --progress

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master rev-parse --abbrev-ref HEAD

  master

  $ /usr/bin/git -C /Users/PW/.cocoapods/repos/master reset --hard origin/master

  HEAD is now at 075f335e119 [Add] ZPageControl 0.0.1

Analyzing dependencies

[!] Unable to find a specification for `ArcGIS-Runtime-SDK-iOS (~> 100.1.1)`

0 Kudos
Nicholas-Furness
Esri Regular Contributor

You might try moving your ~/.cocoapods folder out of the way in case it's confused/corrupted by the Cocoapods version update, and doing a fresh "pod install".

0 Kudos