office-gobmx/ios
Tor Lillqvist 7811a0e581 tdf#124449: We need also share/gallery for the iOS app
I wonder wheter we should just include all of instdir/share. Seems
that I have to add more and more of it all the time anyway. I don't
remember why I thought (many years ago) that an app would need just a
subset. (Maybe I thought that an app would not, at least not
initially, have functionality that would use most of the stuff in
shre. But that has changed now.)

Change-Id: I62f935e3ab9c4709373fad11ed120ecca033b4aa
2019-04-12 15:36:19 +03:00
..
LibreOfficeLight
source
UnitTest I had forgotten to add these files to git 2019-02-28 20:08:06 +02:00
.gitignore
CustomTarget_iOS_link.mk
CustomTarget_iOS_setup.mk tdf#124449: We need also share/gallery for the iOS app 2019-04-12 15:36:19 +03:00
DISCLAIMER_WARNING
Makefile
Module_ios.mk
README
StaticLibrary_ios.mk
welcome.odt

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