summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-01-13 10:30:38 +0100
committerjan Iversen <jani@libreoffice.org>2018-01-13 14:27:59 +0100
commitf64ae9b0ba80dec1e3e16502debc947f30c31bf4 (patch)
tree4684f8a8a435d5d70b26e3ea56dba402a49abf60 /ios
parent87b735dfb6c222698a73e51d555bd85fbc95af8c (diff)
iOS, updated README
Changed README to reflect dylib, and new structure Change-Id: I4230eed75572c0c0eefc059e284bfe92d5d9c506
Diffstat (limited to 'ios')
-rw-r--r--ios/README39
1 files changed, 14 insertions, 25 deletions
diff --git a/ios/README b/ios/README
index 6ad40d2ef8a4..a5433cc99a36 100644
--- a/ios/README
+++ b/ios/README
@@ -1,8 +1,5 @@
iOS app and LibreOfficeKit.
--- LibreOfficeKit
-prelink all LO libraries into one to facilitate easier linking
-
-- LibreOfficeLight
a swift based UI, very much work in progress
@@ -26,35 +23,27 @@ the 3 configurations of LO first, and then link against those.
Due to the multiple workdirs a separate work directories are needed as follows:
(names/locations can be changes, they are "linked" together by running autogen.sh)
./core - libreoffice git clone (name can be changed)
- ./ios-arm64 - workdir for production, autogen.input:
- standard +
- #--enable-debug
- #--enable-ios-simulator
- --host=arm64-apple-darwin
- ./ios-arm64-debug - workdir for debug on device, autogen.input:
- standard +
- --enable-debug
- #--enable-ios-simulator
- --host=arm64-apple-darwin
- ./ios-simulator - workdir for simulator-debug, autogen.input:
- standard +
- --enable-debug
- --enable-ios-simulator
- #--host=arm64-apple-darwin
+ ./ios-arm64 - workdir for production
+ ./ios-arm64-debug - workdir for debug on device
+ ./ios-simulator - workdir for simulator-debug
-- Steps to generate
1) copy ./core/distro-configs/LibreOfficeiOS.conf to autogen.input in
./ios-arm64, ./ios-arm64-debug, ./ios-simulator
- Correct as per above, add your local setup (e.g. location of tarballs)
+ Correct as defined in the conf file,
+ add your local setup (e.g. location of tarballs)
2) run ../core/autogen.sh in ios-arm64, ios-arm64-debug and ios-simulator
3) run make in ios-arm64, ios-arm64-debug and ios-simulator
this will generate core/loApp.xcconfig which prepares LO to be compiled
- and build LOkit is 3 configurations and store the LibreOfficeKit
- prelinked object in ./core/ios/generated as:
- LibreOfficeKit-arm64.o
- LibreOfficeKit-arm64-debug.o
- LibreOfficeKit-simulator.o
-5) open xcode with LibreOfficeLight add ./ios-app/ios/loApp.xconfig to the project.
+ and build LOkit is 3 configurations and store the preparedLibreOfficeKit
+ in ./core/ios/generated as:
+ release/libKit.a
+ release/libKit.dylib
+ debug/libKit.a
+ debug/libKit.dylib
+ simulator/libKit.a
+ simulator/libKit.dylib
+5) open xcode with LibreOfficeLight select scheme and build/test/run.
6) enjoy