|
|
@@ -18,15 +18,17 @@ This code is a canonical guide for integrating the Library.
|
|
|
|
|
|
### Setting up your project
|
|
|
|
|
|
-1. Add `PsiphonTunnel.framework` to project (drag into project tree).
|
|
|
+1. Get the latest iOS release from the project's [Releases](https://github.com/Psiphon-Labs/psiphon-tunnel-core/releases) page.
|
|
|
|
|
|
-2. In the "General" settings for the target, set "Deployment Target" to 9.3.
|
|
|
+2. Add `PsiphonTunnel.framework` to project (drag into project tree).
|
|
|
|
|
|
-3. In the "Build Settings" for the target, under "Build Options", set "Enable Bitcode" to "No".
|
|
|
+3. In the "General" settings for the target, set "Deployment Target" to 9.3.
|
|
|
|
|
|
-4. In the "Build Settings" for the target, click the `+` at the top, then "Add User-Defined Setting". Name the new setting `STRIP_BITCODE_FROM_COPIED_FILES` and set it to `NO`.
|
|
|
+4. In the "Build Settings" for the target, under "Build Options", set "Enable Bitcode" to "No".
|
|
|
|
|
|
-5. In target Build Phases, add a "Copy Files" phase. Set "Destination" to "Frameworks". Add `PsiphonTunnel.framework` to the list. Ensure "Code Sign on Copy" is checked.
|
|
|
+5. In the "Build Settings" for the target, click the `+` at the top, then "Add User-Defined Setting". Name the new setting `STRIP_BITCODE_FROM_COPIED_FILES` and set it to `NO`.
|
|
|
+
|
|
|
+6. In target Build Phases, add a "Copy Files" phase. Set "Destination" to "Frameworks". Add `PsiphonTunnel.framework` to the list. Ensure "Code Sign on Copy" is checked.
|
|
|
|
|
|
## Compiling and testing
|
|
|
|