Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian König committed Jan 15, 2017
1 parent 6a83499 commit 77ece97
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Applications that would like to access the figo Connect have to register with us
Website: [http://figo.io](http://figo.io)


## Installation
## Setup

### Submodule

Expand All @@ -39,6 +39,17 @@ Integrate the framework into your project:
* Select the Figo.xcodeproj in the Project Navigator and verify the deployment target matches that of your application target.
* Add the Figo.framework to your target(s) in the "Embedded Binaries" sections

### The bridging header

We need CommonCrypto for our SSL pinning implementation, which is not available as a modular header. This makes it a bit challenging to import it into Swift. To work around this, we have included an Objective-C bridging header which imports the headers.

#import <CommonCrypto/CommonCrypto.h>

If you want to add our source files directly without adding the project as a sub-project in Xcode, you have to add that import to your bridging header.

### Cocoapods / Carthage

We don't support Cocoapods because it doesn't support the bridging header at this time. As for Carthage, we just haven't come around to it yet.

## Usage

Expand Down

0 comments on commit 77ece97

Please sign in to comment.