Skip to content

Commit

Permalink
Add Google-API-Client as pod spec
Browse files Browse the repository at this point in the history
This is annoying, but it is the only way I can find to make the pod
pass ‘pod spec lint’
  • Loading branch information
ConfusedVorlon committed Oct 15, 2015
1 parent 1f10e7e commit 3111ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions HSGoogleDrivePicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |s|

s.name = "HSGoogleDrivePicker"
s.version = "0.1.0"
s.version = "0.1.1"
s.summary = "A sane and simple file picker for Google Drive."

s.homepage = "https://github.com/ConfusedVorlon/HSGoogleDrivePicker"
Expand All @@ -14,10 +14,11 @@ Pod::Spec.new do |s|

s.platform = :ios, "7.0"

s.source = { :git => "https://github.com/ConfusedVorlon/RCBRightClick.git", :tag => "0.1.0" }
s.source = { :git => "https://github.com/ConfusedVorlon/HSGoogleDrivePicker.git", :tag => "0.1.1" }
s.source_files = "HSGoogleDrivePicker/HSGoogleDrivePicker"

s.requires_arc = true
s.dependency 'AsyncImageView'
s.dependency 'Google-API-Client'

end
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,16 @@ HS_GDrivePicker *picker=[[HS_GDrivePicker alloc] initWithId:@"YOUR ID HERE"
You can install HSGoogleDrivePicker in your project by using [CocoaPods](https://github.com/cocoapods/cocoapods)
You also need the Google API client (or you can copy the files manually following the instructions in the next section)
```Ruby
pod 'HSGoogleDrivePicker', '~> 0.1.0’
pod 'Google-API-Client', '~> 1.0'
```


## Getting your API keys

- Follow [Google’s guide](https://developers.google.com/drive/ios/quickstart) (Step 1 only).
- (If you prefer, you can download Google’s API code by following Step 2. This will allow you to ignore the Google-API-Client pod, which contains a lot of un-needed code.)
- Enable the Drive API permission. (click on ‘APIs and Auth’, ‘APIs’, then search for ‘Drive’)


Expand Down

0 comments on commit 3111ef1

Please sign in to comment.