Update BUILDING.md

This commit is contained in:
gmbnt 2020-02-05 14:05:41 +11:00 committed by GitHub
parent dfd59492c0
commit 504fc575bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 13 deletions

View File

@ -13,7 +13,7 @@ Install [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
Clone the repo to a working directory:
```
git clone --recurse-submodules https://github.com/signalapp/Signal-iOS
git clone --recurse-submodules https://github.com/loki-project/session-ios
```
Since we make use of submodules, you must use `git clone`, rather than
@ -22,29 +22,23 @@ downloading a prepared zip file from Github.
We recommend you fork the repo on GitHub, then clone your fork:
```
git clone --recurse-submodules https://github.com/<USERNAME>/Signal-iOS.git
git clone --recurse-submodules https://github.com/<USERNAME>/session-ios.git
```
You can then add the Signal repo to sync with upstream changes:
You can then add the Session repo to sync with upstream changes:
```
git remote add upstream https://github.com/signalapp/Signal-iOS
git remote add upstream https://github.com/loki-project/session-ios
```
## 2. Dependencies
To build and configure the libraries Signal uses, just run:
To build and configure the libraries Session uses, just run:
```
make dependencies
```
### Building WebRTC
A prebuilt version of WebRTC.framework resides in a submodule and should be
installed by the above steps. However, if you'd like to build it from source,
see: https://github.com/signalapp/signal-webrtc-ios
## 3. Xcode
Open the `Signal.xcworkspace` in Xcode.
@ -75,5 +69,3 @@ third-party contributors since Apple's Push Notification service pushes
will only work with Open Whisper Systems production code signing
certificate.
If you have any other issues, please ask on the [community forum](https://whispersystems.discoursehosting.net/).