Skip to content

Commit 2e1988e

Browse files
committed
Updates to documentation
1 parent 441f932 commit 2e1988e

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

GreatCircle.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'GreatCircle'
3-
spec.version = '1.0.2'
3+
spec.version = '1.0.3'
44
spec.license = { :type => 'MIT' }
55
spec.homepage = 'https://github.com/softwarenerd/GreatCircle'
66
spec.author = { 'Brian Lambert' => '[email protected]' }
77
spec.summary = 'iOS framework that provides a set of Geodesy extensions to the CLLocation class.'
8-
spec.source = { :git => 'https://github.com/softwarenerd/GreatCircle.git', :tag => 'v1.0.2' }
8+
spec.source = { :git => 'https://github.com/softwarenerd/GreatCircle.git', :tag => 'v1.0.3' }
99
spec.source_files = 'GreatCircle/CLLocation+GreatCircleExtensions.{h,m}'
1010
spec.framework = 'Foundation'
1111
spec.framework = 'CoreLocation'

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ GreatCircle can be used via [Carthage dependency manager](https://github.com/Car
3737

3838
### Carthage
3939

40+
There are excellent [Instructions](https://github.com/Carthage/Carthage#getting-started) available on the [Carthage](https://github.com/Carthage/Carthage) site, which are summarized below.
41+
4042
#### Add GreatCircle to your Cartfile
4143

4244
```github "softwarenerd/GreatCircle"```
@@ -47,13 +49,25 @@ GreatCircle can be used via [Carthage dependency manager](https://github.com/Car
4749

4850
#### Add GreatCircle.framework to Linked Frameworks and Libraries
4951

52+
On your application targets’ “General” settings tab, in the “Linked Frameworks and Libraries” section, drag and drop GreatCircle.framework the Carthage/Build/iOS folder on disk.
53+
5054
<img src="Documentation/AddFramework.png" alt="Add Framework" width="650"/>
5155

5256
#### Add Copy Frameworks Run Script
5357

54-
Add a run script that uses the ```carthage copy-frameworks``` command to copy the ```GreatCircle.framework```
58+
On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script in which you specify your shell (ex: `bin/sh`), add the following contents to the script area below the shell:
59+
60+
```sh
61+
/usr/local/bin/carthage copy-frameworks
62+
```
5563

56-
<img src="Documentation/RunScript.png" alt="Run Script" height="400"/>
64+
and add the paths to the frameworks you want to use under “Input Files”, e.g.:
65+
66+
```
67+
$(SRCROOT)/Carthage/Build/iOS/GreatCircle.framework
68+
```
69+
70+
<img src="Documentation/RunScript.png" alt="Run Script" height="400"/>
5771

5872
### CocoaPod
5973

@@ -66,6 +80,8 @@ And install it using:
6680
pod install
6781
```
6882

83+
If this is the first time you've used a CocoaPod in your project, you will need to switch from your ProjectName.xcodeproj file to the ProjectName.xcworkspace that was created by the `pod install` command.
84+
6985
## Documentation
7086

7187
*Extension Methods*

0 commit comments

Comments
 (0)