Problem installing Quartz SDK Beta 3 using CocoaPods

1776
6
Jump to solution
10-10-2016 12:08 AM
ShiminCai
Occasional Contributor III

Hi All,

I'm following the instructions of the "Get started: Install and setup" in the online documentation to install Quartz SDK Beta 3 using CocoaPods and encountered this problem:

garrytoshiba:FCMapApp2 shiminc$ pod install

Analyzing dependencies

[!] Unable to satisfy the following requirements:

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

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

You have either:

 * out-of-date source repos which you can update with `pod 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.

My podfile looks like this:

# Uncomment this line to define a global platform for your project

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

  target 'FCMapApp' do

  # comment this line if you're not using Swift and don't want to use dynamic frameworks'

  use_frameworks!


  pod 'Dropbox-iOS-SDK'

  pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'

  pod 'ArcGIS-Runtime-SDK-iOS', '100.0-beta3'

  pod 'IQKeyboardManagerSwift'

  target 'FCMapAppTests' do

  inherit! :search_paths

  # Pods for testing

  end

end

Actually I'm trying to upgrade a workspace that works fine with the SDK 10.2.5 by changing the line "pod 'ArcGIS-Runtime-SDK-iOS'" to "pod 'ArcGIS-Runtime-SDK-iOS''100.0-beta3'".

Can anybody shed any light on what I'm doing wrong please?

Many thanks.

Shimin

0 Kudos
1 Solution

Accepted Solutions
LinnartBaeker
New Contributor II

Did you try:

pod repo update

As suggested in the error message? I installed the Beta SDK via CocoaPods without any problems.

 

View solution in original post

0 Kudos
6 Replies
DanPatterson_Retired
MVP Emeritus

Install and set up—ArcGIS Runtime SDK for iOS (Quartz Beta) | ArcGIS for Developers from there it leads to 

System requirements—ArcGIS Runtime SDK for iOS (Quartz Beta) | ArcGIS for Developers with comments about the supported iOS version.  there seems to be a difference in developing and using. I assume your requirements are met?

0 Kudos
ShiminCai
Occasional Contributor III

Thanks Dan for your reply. I revisited those documents you listed. My Macbook has Xcode 7.3, OS XEI Capitan 10.11.6 and 2.6 GHz Intel Core i7 processor which should meet the system requirements for developing with the Quartz SDK.

0 Kudos
ShiminCai
Occasional Contributor III

I created two identical fresh Xcode projects and tried to install pod 'ArcGIS-Runtime-SDK-iOS' and pod 'ArcGIS-Runtime-SDK-iOS', '100.0-beta3' in the projects separately.

With the pod 'ArcGIS-Runtime-SDK-iOS', the pod install went ok and installed 10.2.5:

Last login: Tue Oct 11 13:27:28 on ttys000

garrytoshiba:~ shiminc$ cd Projects/Test/CocoaPodsTest

garrytoshiba:CocoaPodsTest shiminc$ pod install

Analyzing dependencies

Downloading dependencies

Using ArcGIS-Runtime-SDK-iOS (10.2.5)

Generating Pods project

Integrating client project

Sending stats

Pod installation complete! There is 1 dependency from the Podfile and 1 total

pod installed.

 

But the install of pod 'ArcGIS-Runtime-SDK-iOS', '100.0-beta3' failed with the save error as before:

Last login: Tue Oct 11 13:44:25 on ttys000

garrytoshiba:~ shiminc$ cd Projects/Test/CocoaPodsTest1

garrytoshiba:CocoaPodsTest1 shiminc$ pod install

Analyzing dependencies

[!] Unable to satisfy the following requirements:

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

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

You have either:

 * out-of-date source repos which you can update with `pod 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.

I also did a search in the https://cocoapods.org and only found the SDK 10.2.5 and couldn't find the version 100.0-beta3. So my question is: does the beta version 100.0-beta3 exist at all? Or what should I do to be able to install the  Quartz beta3 of the ArcGIS Runtime SDK using CocoaPods?

Any help is much appreciated.

Shimin

0 Kudos
LinnartBaeker
New Contributor II

Did you try:

pod repo update

As suggested in the error message? I installed the Beta SDK via CocoaPods without any problems.

 

0 Kudos
ShiminCai
Occasional Contributor III

Yes I did. Today tried again and got the same error.

garrytoshiba:FCMapApp2 shiminc$ pod repo update

Updating spec repo `master`

Performing a deep fetch of the `master` specs repo to improve future performance

[!] /usr/bin/git fetch --unshallow

error: RPC failed; result=56, HTTP code = 200

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

garrytoshiba:FCMapApp2 shiminc$

It took very long to get the error...

0 Kudos
ShiminCai
Occasional Contributor III

With a faster Internet (20 mbps), still no luck with the 'pod repo update':

Shimins-MBP:FCMapApp2 shiminc$ pod repo update

Updating spec repo `master`

Performing a deep fetch of the `master` specs repo to improve future performance

  $ /usr/bin/git pull --ff-only

  fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': transfer closed with outstanding read data remaining

[!] 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`

However, with the  'pod update', successfully installed the beta idk:

Shimins-MBP:FCMapApp2 shiminc$ pod update

Update all pods

Updating local specs repositories

CocoaPods 1.1.0.rc.3 is available.

To update use: `sudo gem install cocoapods --pre`

[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.rc.3

Analyzing dependencies

Pre-downloading: `SVProgressHUD` from `https://github.com/SVProgressHUD/SVProgressHUD.git`

Downloading dependencies

Installing ArcGIS-Runtime-SDK-iOS 100.0-beta3 (was 10.2.5)

Using Dropbox-iOS-SDK (1.3.13)

Installing IQKeyboardManagerSwift 4.0.6 (was 4.0.2)

Installing SVProgressHUD 2.0.3 (was 2.0.3)

Generating Pods project

Integrating client project

Sending stats

Pod installation complete! There are 4 dependencies from the Podfile and 4 total

pods installed.

Thank you for your help. Much appreciated.

Cheers,

Shimin

0 Kudos