office-gobmx/ios
Philipp Hofer 26573395db tdf#123936 Formatting files in module ios with clang-format
Change-Id: I9ab70d93ce0bbb72683aca30e1122046abffe11b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105682
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-11-13 14:26:28 +01:00
..
LibreOfficeLight tdf#123936 Formatting files in module ios with clang-format 2020-11-13 14:26:28 +01:00
source android: Avoid throwing exceptions through the bridges. 2019-12-05 11:02:01 +01:00
UnitTest Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build) 2020-10-16 11:21:27 +02:00
.gitignore
CustomTarget_iOS_link.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_iOS_setup.mk Remove BuildVersion also from Android and iOS version ini files 2020-08-19 21:42:59 +02:00
DISCLAIMER_WARNING
Makefile
Module_ios.mk android: Avoid throwing exceptions through the bridges. 2019-12-05 11:02:01 +01:00
README Mention this file is outdated 2018-11-30 18:20:23 +02:00
welcome.odt iOS, updated resource paths. 2018-03-03 22:30:25 +01:00

Somewhat obsolete README for the LibreOfficeLight iOS app and LibreOfficeKit.

-- LibreOfficeLight
a swift based UI, very much work in progress

-- support
the arm64 and simulator are the only supported processors,
old 32 bit iPhones are not supported.

The swift app are done for 3 structures
  simulator + full debug libraries
  arm64 + full debug libraries
  arm64 + optimized libraries

-- SETUP
Due to the 3 modes, at least 3 workdirs are needed together with a
separated UI workdir.

Because the main work is done on the UI, where it is convenient to
switch fast between arm64 and simulator, it is advantageous to compile
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
   ./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 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 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