<commit_before># Webtrekk Tracking Library

[![Build Status](https://travis-ci.org/Webtrekk/webtrekk-ios-sdk.svg?branch=master)](https://travis-ci.org/Webtrekk/webtrekk-ios-sdk)

[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Webtrekk.svg?style=flat-square)](https://cocoapods.org/pods/Webtrekk) ![Carthage](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat) ![Platform support](https://img.shields.io/badge/platform-ios%20%7C%20tvos%20%7C%20watchos-lightgrey.svg?style=flat-square)

The Webtrekk SDK allows you to track user activities, screen flow and media usage for an App. All data is send to the Webtrekk tracking system for further analysis.

# Requirements

| Plattform | Version            |
|-----------|-------------------:|
| `iOS`     |             `8.0+` |
| `tvOS`    |             `9.0+` |
| `watchOs` |             `2.0+` |

Xcode 7.3+ and Swift 2.2 for versions below and equal to 4.0.1

Xcode 8.0+ and Swift 3.0 starting with version 4.1.0

Xcode 8.3+ and Swift 3.1 starting with version 4.5.1

Starting with version 4.7.0 library can be included and compiled with XCode 9.0 beta6.

Xcode 9.0+ and Swift 4.0 starting with version 4.8.0

Xcode 9.3+ and Swift 4.1 starting with version 4.11.0

Xcode 10+ and Swift 4.2 starting with version 4.12.1

tvOS support starting with version 4.2.0 with the following limitation:
No screen resolution and automatic network status tracking support.

watchOS support starting with version 4.3.0 with the following limiations:
1. No screen resolution and automatic network status tracking support.
2. No deep link and campaign support.

Carthage support starting from version 4.6.0


# Installation

[CocoaPods](htttp://www.cocoapods.org) (*Podfile*):

`pod 'Webtrekk'`
<commit_msg>Add cocoapods swift 4.2 troubleshoot fix<commit_after># Webtrekk Tracking Library

[![Build Status](https://travis-ci.org/Webtrekk/webtrekk-ios-sdk.svg?branch=master)](https://travis-ci.org/Webtrekk/webtrekk-ios-sdk)

[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Webtrekk.svg?style=flat-square)](https://cocoapods.org/pods/Webtrekk) ![Carthage](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat) ![Platform support](https://img.shields.io/badge/platform-ios%20%7C%20tvos%20%7C%20watchos-lightgrey.svg?style=flat-square)

The Webtrekk SDK allows you to track user activities, screen flow and media usage for an App. All data is send to the Webtrekk tracking system for further analysis.

# Requirements

| Plattform | Version            |
|-----------|-------------------:|
| `iOS`     |             `8.0+` |
| `tvOS`    |             `9.0+` |
| `watchOs` |             `2.0+` |

Xcode 7.3+ and Swift 2.2 for versions below and equal to 4.0.1

Xcode 8.0+ and Swift 3.0 starting with version 4.1.0

Xcode 8.3+ and Swift 3.1 starting with version 4.5.1

Starting with version 4.7.0 library can be included and compiled with XCode 9.0 beta6.

Xcode 9.0+ and Swift 4.0 starting with version 4.8.0

Xcode 9.3+ and Swift 4.1 starting with version 4.11.0

Xcode 10+ and Swift 4.2 starting with version 4.12.1

## Cocoapod Swift 4.2 trouble:
To resolve when you cannot lint with Cocoapods, use:

`pod spec lint --allow-warnings`

There are a few warnings with the new API in Swift 4.2, all will still work. It's just warnings and we will work to make them disappear by the time a new Swift version is out.

tvOS support starting with version 4.2.0 with the following limitation:
No screen resolution and automatic network status tracking support.

watchOS support starting with version 4.3.0 with the following limiations:
1. No screen resolution and automatic network status tracking support.
2. No deep link and campaign support.

Carthage support starting from version 4.6.0


# Installation

[CocoaPods](htttp://www.cocoapods.org) (*Podfile*):

`pod 'Webtrekk'`

{'fraction_non_alphanumeric': 0.12606782293554233, 'fraction_numerical': 0.042971783587885067, 'mean_word_length': 3.519298245614035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, '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': '2154359', 'n_tokens_mistral': 1416, 'n_tokens_neox': 1306, 'n_words': 413}