[!] Error installing ArcGIS-Runtime-SDK-iOS

2006
7
08-03-2017 12:44 AM
SivaramaJavvaji
New Contributor

How to fix this ?

Please guide me

0 Kudos
7 Replies
SivaramaJavvaji
New Contributor

Below is my pod file desc

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target 'ArcGISDemo' do
pod 'ArcGIS-Runtime-SDK-iOS'
end

0 Kudos
MarkDostal
Esri Contributor

Thank you for your question!  You can take a look at this document to help install the SDK with CocoPods:  Install and set up—ArcGIS Runtime SDK for iOS | ArcGIS for Developers 

If you're installing the latest iOS Runtime SDK, you'll want to include this line in your pod file:

pod 'ArcGIS-Runtime-SDK-iOS', '100.1'

Let me know if that doesn't work for you.

Mark

0 Kudos
gautamsingh
New Contributor

# platform :ios, '10.0'

target 'TestArcGIS' do
pod 'ArcGIS-Runtime-SDK-iOS', '100.1'
end

Not working. Below is output

gautam:TestArcGIS gautamkumarsingh$ pod install

Analyzing dependencies

[!] Unable to satisfy the following requirements:

- `ArcGIS-Runtime-SDK-iOS (= 100.1)` required by `Podfile`

None of your spec sources contain a spec satisfying the dependency: `ArcGIS-Runtime-SDK-iOS (= 100.1)`.

You have either:

 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.

 * mistyped the name or version.

 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

[!] Automatically assigning platform ios with version 10.3 on target TestArcGIS because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

gautam:TestArcGIS gautamkumarsingh$

0 Kudos
DiveshGoyal
Esri Regular Contributor

Gautam,

The error you're getting suggests to me that your cocoapods repo is likely outdated and does not have the latest pods, that's why it is complaining it cannot find a spec for ArcGIS v100.1. Try running the command `pod repo update` and try again. 

0 Kudos
NehruHingwe
New Contributor

[!] Error installing ArcGIS-Runtime-SDK-iOS

[!] /usr/bin/curl -f -L -o /var/folders/_t/15q0ydb10wnbwc9vj6vs44r80000gn/T/d20170822-3830-spxdah/file.zip https://esri.box.com/shared/static/ihda0mduu51ljo4l4u8n1k226qpo7gw0.zip --create-dirs --netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:05:00 --:--:--     0

curl: (28) Operation timed out after 300541 milliseconds with 0 out of 0 bytes received

0 Kudos
DiveshGoyal
Esri Regular Contributor

Nehru - probably a temporary network/download error. Can you try again and let us know if you're still seeing problems.

0 Kudos
NehruHingwe
New Contributor

Divesh Goyal‌: Issue resolved, thank you

0 Kudos