From 77ece971fe9be2721b71b02a458ea4ea0a49df48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ko=CC=88nig?= Date: Sun, 15 Jan 2017 14:35:18 +0100 Subject: [PATCH] Updated readme --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b66902..46547d7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 + +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