office-gobmx/ios
Tor Lillqvist 944ef72a1e Avoid superfluous directory level
Don't bother with a 'userinstallation' subdirectory. It is a
subdirectory called "user" of the UserInstallation value that will be
used for our stuff anyway.

Change-Id: Idb6b5992bfda73ed7af80274b0de8ad7b43c241c
2018-10-12 03:56:05 +03:00
..
LibreOfficeLight Move the iOS CGBitmapContextCreate() call do doc_paintTile() 2018-10-10 16:25:20 +03:00
source Need to handle css::uno::RuntimeException too now 2018-09-27 21:10:12 +02:00
UnitTest Move the iOS CGBitmapContextCreate() call do doc_paintTile() 2018-10-10 16:25:20 +03:00
.gitignore iOS, linking adjustments 2017-10-22 11:42:32 +02:00
CustomTarget_iOS_link.mk Make LibreOfficeLight build again 2018-10-10 12:29:18 +03:00
CustomTarget_iOS_setup.mk Avoid superfluous directory level 2018-10-12 03:56:05 +03:00
DISCLAIMER_WARNING iOS, build instructions. 2017-09-26 18:22:03 +02:00
Makefile
Module_ios.mk Re-think cppu::throwException() and the C++/UNO bridge on iOS 2018-09-15 07:54:03 +02:00
README iOS, updated README 2018-01-13 14:27:59 +01:00
StaticLibrary_ios.mk Re-think cppu::throwException() and the C++/UNO bridge on iOS 2018-09-15 07:54:03 +02:00
welcome.odt iOS, updated resource paths. 2018-03-03 22:30:25 +01:00

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