|
|
|
@ -31,12 +31,12 @@ You can then add the Session repo to sync with upstream changes:
|
|
|
|
|
git remote add upstream https://github.com/loki-project/session-ios
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 2. Dependencies
|
|
|
|
|
## 2. Pods
|
|
|
|
|
|
|
|
|
|
To build and configure the libraries Session uses, just run:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
make dependencies
|
|
|
|
|
pod install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 3. Xcode
|
|
|
|
@ -49,16 +49,12 @@ open Signal.xcworkspace
|
|
|
|
|
|
|
|
|
|
In the TARGETS area of the General tab, change the Team dropdown to
|
|
|
|
|
your own. You will need to do that for all the listed targets, for ex.
|
|
|
|
|
Signal, SignalShareExtension, and SignalMessaging. You will need an Apple
|
|
|
|
|
Developer account for this.
|
|
|
|
|
Session, SessionShareExtension, and SessionPushNotificationExtension. You
|
|
|
|
|
will need an Apple Developer account for this.
|
|
|
|
|
|
|
|
|
|
On the Capabilities tab, turn off Push Notifications and Data Protection,
|
|
|
|
|
while keeping Background Modes on. The App Groups capability will need to
|
|
|
|
|
remain on in order to access the shared data storage. The App ID needs to
|
|
|
|
|
match the SignalApplicationGroup string set in TSConstants.h.
|
|
|
|
|
|
|
|
|
|
If you wish to test the Documents API, the iCloud capability will need to
|
|
|
|
|
be on with the iCloud Documents option selected.
|
|
|
|
|
remain on in order to access the shared data storage.
|
|
|
|
|
|
|
|
|
|
Build and Run and you are ready to go!
|
|
|
|
|
|
|
|
|
|