summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-04-27 10:54:18 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-04-29 07:47:38 (GMT)
commit195300fc8b42f5c54eee2359f497b9dc28c6d27d (patch)
tree9e0d47ba54cb59c89a4874385a926e2b1aca2894 /Documentation/BuildingOnIOS.txt
parent0709bd664af7a052f2fb7dae2b04e37afed8fdde (diff)
downloadswift-195300fc8b42f5c54eee2359f497b9dc28c6d27d.zip
swift-195300fc8b42f5c54eee2359f497b9dc28c6d27d.tar.bz2
Restructure and reword project documentation
Restructured project documentation into two basically two files at the top level. README.md giving a rough project overview and information and providing all information needed to build Swift, its requirements and where to get them for all desktop platforms. DEVELOPMENT.md is targeted at developers, describing the build system, how to build only parts of the project. This document also described how to build Swiften on Android and iOS, and also covers testing and packaging guidelines. Test-Information: None. Change-Id: Ic47bef6524888db972332b23e6510d10234f7808
Diffstat (limited to 'Documentation/BuildingOnIOS.txt')
-rw-r--r--Documentation/BuildingOnIOS.txt44
1 files changed, 0 insertions, 44 deletions
diff --git a/Documentation/BuildingOnIOS.txt b/Documentation/BuildingOnIOS.txt
deleted file mode 100644
index e310ca1..0000000
--- a/Documentation/BuildingOnIOS.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-Prerequisites
-------------
-- XCode
-- Python
-- Other requirements that are obtained during this guide
- - OpenSSL
-
-Supported Components
---------------------
-- Swiften
- Note: File-transfer support has not been tested on iOS. Link-local features are not supported under iOS.
-- Swift/Controllers
-
-Preparation of Build Environment
---------------------------------
-1. Fetch 3rd-party dependencies
-
-1.1 OpenSSL
- cd 3rdParty/OpenSSL
- curl -O http://www.openssl.org/source/openssl-1.0.1j.tar.gz
- tar -xf openssl-1.0.1j.tar.gz
- mv openssl-1.0.1j openssl
-
-Building
---------
-1. Switch to iOS directory
- cd BuildTools/IOS
-
-2. Look up installed SDKs
- xcodebuild -showsdks
-
- Note: Here the iOS SDKs and iOS Simulator SDKs are of interest.
-
-3. Build Swiften (adjust the sdk parameter to one of the installed SDKs)
- xcodebuild build -arch i386 -sdk iphonesimulator8.1
-
- Note: When not specifying the architecture (-arch flag) XCode will try an universal build which is not supported.
- Only specify one architecture at a time and if you require a universal lib you can create one using the lipo tool.
-
-4. The final libSwiften.a is located at $SWIFT/build/current/Swiften/libSwiften.a.
-
-Testing
--------
-Integration and unit tests are not supported on iOS.