summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Henriksen <austin.r.henriksen79@gmail.com>2019-06-18 17:30:45 -0400
committerGitHub <noreply@github.com>2019-06-18 17:30:45 -0400
commit2df8ac9604fd48e459a4b780032c13897ecac8ff (patch)
tree8d415413229683b125ae68a461178f85bb18cb20
parentFixed Swift README typos (diff)
downloadice-2df8ac9604fd48e459a4b780032c13897ecac8ff.tar.bz2
ice-2df8ac9604fd48e459a4b780032c13897ecac8ff.tar.xz
ice-2df8ac9604fd48e459a4b780032c13897ecac8ff.zip
Added Carthage to Swift build instructions
-rw-r--r--swift/README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/swift/README.md b/swift/README.md
index 324a0fd151f..bc823ea7db7 100644
--- a/swift/README.md
+++ b/swift/README.md
@@ -28,6 +28,13 @@ this compiler.
Ice for Swift requires Swift 5 or later.
+### Carthage
+
+Carthage must be installed to build Ice for Swift. You can install Carthage using Homebrew:
+```
+brew install carthage
+```
+
## Building Ice for Swift
The build system requires the Slice to Swift and the Slice to C++
@@ -35,7 +42,13 @@ compilers. If you have not installed a binary distribution that provides
these command-line tools, refer to the [C++ build instructions](../cpp/README.md)
to build these compilers using the Ice for C++ sources.
-Open `ice.xcproject` with Xcode and build the `Ice macOS` or `Ice iOS` target
+To first download and build the necessary dependency frameworks, run
+```
+carthage update
+```
+from the base folder you downloaded ice into.
+
+Then open `ice.xcproject` with Xcode and build the `Ice macOS` or `Ice iOS` target
to build Ice for Swift macOS framework or Ice for Swift iOS framework respectively.
The test programs for macOS and iOS can be built using `TestDriver macOS` and