Skip to content

Commit 9f63253

Browse files
committed
Merge pull request #81 from ashfurrow/cocoapods
Updated podspec and README for Cocoapods Trunk
2 parents 3f55ce9 + 015ca58 commit 9f63253

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

Nimble.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010
s.author = "Quick Contributors"
1111
s.ios.deployment_target = "8.0"
1212
s.osx.deployment_target = "10.10"
13-
s.source = { :git => "https://github.com/Quick/Nimble.git", :tag => "v0.2.0" }
13+
s.source = { :git => "https://github.com/Quick/Nimble.git", :tag => "v#{s.version}" }
1414

1515
s.source_files = "Nimble", "Nimble/**/*.{swift,h,m}"
1616
s.framework = "XCTest"

README.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -971,24 +971,9 @@ install just Nimble.
971971

972972
## Installing Nimble via CocoaPods
973973

974-
To use Nimble in CocoaPods to test your iOS or OS X applications, we'll need a
975-
*Gemfile* that will specify unreleased versions of CocoaPods. Create an empty
976-
file called "Gemfile" in your project's directory and add the following lines.
977-
978-
```ruby
979-
source 'https://rubygems.org'
980-
981-
gem 'cocoapods', :git => 'https://github.com/CocoaPods/CocoaPods.git', :branch => 'swift'
982-
gem 'cocoapods-core', :git => 'https://github.com/CocoaPods/Core.git', :branch => 'swift'
983-
gem 'xcodeproj', :git => "https://github.com/CocoaPods/Xcodeproj.git", :branch => 'ext_build_settings'
984-
```
985-
986-
Now that you have these specified, run `bundle install` from the command line in
987-
that directory. This will install the prerelease version of CocoaPods. To run
988-
this version, you'll need to type `bundle exec` in front of your pod commands.
989-
990-
In that directory, run `bundle exec pod init` to create a blank podfile. iIt
991-
will look something like the following (add the line for Nimble).
974+
To use Nimble in CocoaPods to test your iOS or OS X applications, we'll need to
975+
install 0.36 Beta 1 of CocoaPods. Do so using the command `[sudo] gem install cocoapods --pre`.
976+
Then just add Nimble to your podfile.
992977

993978
```ruby
994979
platform :ios, '8.0'
@@ -997,8 +982,8 @@ source 'https://github.com/CocoaPods/Specs.git'
997982

998983
# Whatever pods you need for your app go here
999984

1000-
target 'YOUR_APP_NAME_HERE_Tests' do
1001-
pod 'Nimble', :git => "https://github.com/Quick/Nimble"
985+
target 'YOUR_APP_NAME_HERE_Tests', :exclusive => true do
986+
pod 'Nimble'
1002987
end
1003988
```
1004989

0 commit comments

Comments
 (0)