Skip to content

Commit 7290424

Browse files
committed
Update README.md with installation via Carthage
1 parent e82733e commit 7290424

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1-
# ICInputAccessory
1+
# ICInputAccessory
2+
3+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
4+
5+
## Installation
6+
7+
### Install via [Carthage](https://github.com/Carthage/Carthage)
8+
9+
* Create a `Cartfile` with the following specification and run `carthage update`.
10+
11+
```
12+
github "polydice/ICInputAccessory"
13+
```
14+
15+
* On your application targets' **General** settings tab, in the **Linked Frameworks and Libraries** section, drag and drop `ICInputAccessory.framework` from the Carthage/Build directory.
16+
17+
* On your application targets’ **Build Phases** settings tab, click the **+** icon and choose **New Run Script Phase**. Create a Run Script with the following contents:
18+
19+
```
20+
/usr/local/bin/carthage copy-frameworks
21+
```
22+
23+
and add the following path to **Input Files**:
24+
25+
```
26+
$(SRCROOT)/Carthage/Build/iOS/ICInputAccessory.framework
27+
```
28+
29+
* For more information, please check out the [Carthage Documentation](https://github.com/Carthage/Carthage#if-youre-building-for-ios).

0 commit comments

Comments
 (0)