Rattlesnake Canyon Rocks And Moss
Fixing GitHub Certificate Issue
May 18, 2016
Masking Passwords In Android Emulator
October 18, 2016
Rattlesnake Canyon Rocks And Moss
Fixing GitHub Certificate Issue
May 18, 2016
Masking Passwords In Android Emulator
October 18, 2016

Upgrading to OSX El Capitan may cause you some issues with iOS development and CocoaPods.  Recently, I ran into an issue trying to install the Microsoft Graph SDK for iOS in an iOS project. Here’s a description the error and how to fix it.

Here’s the podfile I used:

 

target “O365-Files-App” do

pod ‘ADALiOS’, ‘~>1.2.4’

pod ‘orc’

pod ‘MSGraphSDK’

end

 

Here’s the error I received when trying to install the podfile:

 

pod install

Analyzing dependencies

[!] Unable to find a specification for `MSGraphSDK (= 0.10.1)`

 

Removing the pod spec master repo from my machine and running setup fixed the issue.  Here’s how to do it:

 

pod repo remove master

Removing spec repo `master`

pod setup

Setting up CocoaPods master repo

Setup completed

 

After you do that, run pod install again and everything is good to go.

 

pod install

Analyzing dependencies

Downloading dependencies

Installing ADALiOS (1.2.4)

Installing LiveSDK (5.6.1)

Installing MSGraphSDK (0.10.1)

Installing orc (0.20.3)

Generating Pods project

Integrating client project

[!] Please close any current Xcode sessions and use `IOSOffice365Calendar.xcworkspace` for this project from now on.

Sending stats

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

pods installed.