office-gobmx/ios
jan Iversen ed885a3cdb iOS, do not use different C compilers
LibreOfficeKit.c was compiled with an xcode project and not like
all other sources. Changed to use clang with same switches as
rest of LO.

Separated resource generation in own makefile

Removed project LibreOfficeKit which was responsible for prelink.

Change-Id: Iaf9fbb4b652501af0b7f3643ed3efcc2ed93b611
2017-11-23 08:53:39 +01:00
..
LibreOfficeLight iOS, update icons to support new models 2017-11-22 11:48:33 +01:00
source iOS, do not use different C compilers 2017-11-23 08:53:39 +01:00
.gitignore
CustomTarget_iOS_setup.mk iOS, do not use different C compilers 2017-11-23 08:53:39 +01:00
DISCLAIMER_WARNING
loApp.xcconfig.in iOS, changed debugger from to lldb 2017-11-22 11:48:33 +01:00
Makefile
Module_ios.mk iOS, do not use different C compilers 2017-11-23 08:53:39 +01:00
README
StaticLibrary_iOSkit.mk iOS, do not use different C compilers 2017-11-23 08:53:39 +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
   ./ios-app - workdir for UI, NO autogen.input

-- 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 ./*/ios/lo[Kit|App].xcconfig which prepares LO to be compiled
   and build LOkit is 3 configurations and store the LibreOfficeKit
   libraries in ./core/ios/generated as:
           LibreOfficeKit-arm64.a
           LibreOfficeKit-arm64-debug.a
           LibreOfficeKit-simulator.a
   *note* run "make build-nocheck" in ios-simulator for the time being
4) run ../core/autogen.sh in ios-app
5) open xcode with LibreOfficeLight add ./ios-app/ios/loApp.xconfig to the project.
6) enjoy