<commit_before>#Install via Carthage
> This tutorial assumes you already have install carthage installed.  If you haven't already installed carthage, [Install It From Here](https://github.com/Carthage/Carthage#installing-carthage).

## Step 1
Create a new `Cartfile` in your *project folder*. Place the following into it:

```
github "accepton/accepton-apple" ~> 0.5
```

![Cartfile](../images/cartfile.png)

## Step 2
Run `carthage update` in the root of your *project folder*.

## Step 3
Take the newly created `./Carthage/Build/$PLATFORM/accepton.framework` in your project folder and place it in your XCode project's `Linked Frameworks and Libraries` section **without** making a copy.

![Cartfile](../../images/carthange_link.gif)

## Step 4
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:

```
/usr/local/bin/carthage copy-frameworks
```

and add the paths to the `accepton.framework` you want to use under “Input Files”:

```
$(SRCROOT)/Carthage/Build/iOS/accepton.framework
```

![Cartfile](../../images/carthange_run_script.gif)<commit_msg>Updated docs<commit_after>#Install via Carthage
> This tutorial assumes you already have install carthage installed.  If you haven't already installed carthage, [Install It From Here](https://github.com/Carthage/Carthage#installing-carthage).

## Step 1
Create a new `Cartfile` in your *project folder*. Place the following into it:

```
github "accepton/accepton-apple" ~> 0.5
```

![Cartfile](../images/cartfile.png)

## Step 2
Run `carthage update` in the root of your *project folder*.

## Step 3
Take the newly created `./Carthage/Build/$PLATFORM/accepton.framework` in your project folder and place it in your XCode project's `Linked Frameworks and Libraries` section **without** making a copy.

![Carthage Link](../images/carthange_link.gif)

## Step 4
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:

```
/usr/local/bin/carthage copy-frameworks
```

and add the paths to the `accepton.framework` you want to use under “Input Files”:

```
$(SRCROOT)/Carthage/Build/iOS/accepton.framework
```

![Carthage Run Script](../images/carthange_run_script.gif)
{'fraction_non_alphanumeric': 0.12430347192456065, 'fraction_numerical': 0.005143591941705958, 'mean_word_length': 4.762962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '204726', 'n_tokens_mistral': 732, 'n_tokens_neox': 701, 'n_words': 255}