office-gobmx/ios
jan Iversen 7423d3aef5 iOS, change workdir for prelink object
workdir/ios is no longer created so move Kit.o to CObject/ios

Change-Id: Ibcd6f9f5a17fb26861ed8fe5313e90f314018090
2017-11-27 13:42:42 +01:00
..
LibreOfficeLight iOS, make Kit symbols external 2017-11-26 19:19:51 +01:00
source iOS, make Kit symbols external 2017-11-26 19:19:51 +01:00
.gitignore iOS, linking adjustments 2017-10-22 11:42:32 +02:00
CustomTarget_iOS_prelink.mk iOS, change workdir for prelink object 2017-11-27 13:42:42 +01:00
CustomTarget_iOS_setup.mk iOS, remove app xcconfig 2017-11-25 17:04:00 +01:00
DISCLAIMER_WARNING iOS, build instructions. 2017-09-26 18:22:03 +02:00
Makefile
Module_ios.mk iOS, prelink with native linker. 2017-11-24 16:15:07 +01:00
README iOS corrected object name 2017-11-25 12:25:07 +01:00
StaticLibrary_iOSkit.mk iOS .mk naming conventions. 2017-11-24 09:10:22 +01:00

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

-- 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, 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

-- 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)
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.
6) enjoy