---
updatedAt: 2026-07-14T23:31:55.000Z
agentTools:
  projectIndex: https://documentation.paysimple.com/v2019/llms.txt
---

# ECP - iOS SDK

## Supported Devices

* Stripe M2 Reader (United States only)

## Getting Started

<Callout icon="👍" theme="okay">
  ###

  To get a copy of our SDK, please contact our partner team at [partnersupport@paysimple.com](mailto:partnersupport@paysimple.com) or directly reach out to your Integrated Partner Manager.
</Callout>

<Callout icon="🚧" theme="warn">
  ### Minimum Supported iOS Version

  iOS 14.0
</Callout>

<Callout icon="❗️" theme="error">
  ### When utilizing the iOS ECP SDK, do not manually delete locations in the Stripe dashboard. Manual deletion of locations in the Stripe dashboard will interfere with functionality of the SDK.
</Callout>

* Copy the EverCommercePaymentsIosSdk.xcframework and StripeTerminal.xcframework files into the root directory of your application project folder.
* In the Application General Settings import the frameworks as an Embedded Library.
* Make sure the framework files appear in the following places for the Application Target:

<Callout icon="📘" theme="info">
  ###

  General Settings - Embedded Binaries<br />General Settings - Linked Frameworks and Libraries<br />Build Phases - Link Binary With Libraries<br />Build Phases - Embed Frameworks
</Callout>

* Ensure the framework search paths are correct for your project in Build Settings
* In the files you wish to use the SDK, import the SDK with: #import \<EverCommercePaymentsIosSdk/EverCommercePaymentsIosSdk.h>
* Access the SDK through the ECPSDK type:

```text ECPSdk Access
@property (nonatomic, strong) ECPSdk *sharedECPSDK;
..
..
                    
self.sharedECPSdk = [ECPSDK sharedInstance];
self.sharedECPSdk.delegate = self;

```

## App Configuration

In order for your app to work with the SDK, please make the following changes to your Info.plist file in Xcode

* Enable location services through the setting of the NSLocationWhenInUsageDescription (Privacy - Location When In Use Usage Description) key.
* Enable UIBackgroundModes (Required Background Modes) with a value of bluetooth-central.
* Enable NSBluetoothPeripheralUsageDescription (Privacy - Bluetooth Peripheral Usage Description).
* iOS 14 and later: enable NSBluetoothAlwaysUsageDescription (Privacy - Bluetooth Always Usage Description)

Example:

| Key                                   | Value                                                              |
| :------------------------------------ | :----------------------------------------------------------------- |
| NSLocationWhenInUseUsageDescription   | Location access is required to accept payments.                    |
| UIBackgroundModes                     | bluetooth-central                                                  |
| NSBluetoothPeripheralUsageDescription | Bluetooth access is required to connect to supported card readers. |
| NSBluetoothAlwaysUsageDescription     | This app uses Bluetooth to connect to supported card readers.      |

<Callout icon="🚧" theme="warn">
  ### The SDK needs to know where payments occur. If we can't determine the location of a device, payments may become disabled and fail with an error code of 4096 until location access is restored. Please ensure users of your app who are taking payments always allow location permissions.
</Callout>

<br />