removed outdated build instructions.

This commit is contained in:
Michael Kirk 2018-11-19 11:36:28 -06:00
parent 1df55c70fe
commit f6d78d04b5
1 changed files with 8 additions and 48 deletions

View File

@ -2,7 +2,11 @@
We typically develop against the latest stable version of Xcode. We typically develop against the latest stable version of Xcode.
As of this writing, that's Xcode 9.4. As of this writing, that's Xcode 10.1
## Prerequistes
Install [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
## 1. Clone ## 1. Clone
@ -35,55 +39,11 @@ To build and configure the libraries Signal uses, just run:
make dependencies make dependencies
``` ```
If the above fails to run, or you just want to know more about our
dependency management systems, read the next section, Dependency Details.
Else if the above completed without error - jump ahead to step 3.
### Dependency Details
We have a couple of dependency management tools. We use Carthage for
managing frameworks, but because some of our dependencies are not yet
framework compatible, we use Cocoapods to manage the remainder in a
static library.
2.1) [CocoaPods](http://cocoapods.org) is used to manage the dependencies in our static library. Pods are setup easily and are distributed via a ruby gem. Follow the simple instructions on the website to setup. After setup, run the following command from the toplevel directory of Signal-iOS to download the dependencies for Signal-iOS:
```
pod install
```
If you are having build issues, first make sure your pods are up to date
```
pod repo update
pod install
```
Occasionally, CocoaPods itself will need to be updated. Do this with
```
gem update cocoapods
pod repo update
pod install
```
2.2) Framework dependencies are built and managed using [Carthage](https://github.com/Carthage/Carthage). Our prebuilt WebRTC.framework also resides in the Carthage/Build directory.
If you don't have carthage, here are the [install instructions](https://github.com/Carthage/Carthage#installing-carthage).
Once Carthage is installed, run:
```
// DO NOT run: `carthage update` or `carthage checkout`.
git submodule update --init
carthage build --platform iOS
```
### Building WebRTC ### Building WebRTC
A prebuilt version of WebRTC.framework resides in our Carthage submodule A prebuilt version of WebRTC.framework resides in a submodule and should be
and should be installed by the above steps. However, if you'd like to installed by the above steps. However, if you'd like to build it from source,
build it from source, see: https://github.com/signalapp/signal-webrtc-ios see: https://github.com/signalapp/signal-webrtc-ios
## 3. Xcode ## 3. Xcode