Kaydet (Commit) f64ae9b0 authored tarafından jan Iversen's avatar jan Iversen

iOS, updated README

Changed README to reflect dylib, and new structure

Change-Id: I4230eed75572c0c0eefc059e284bfe92d5d9c506
üst 87b735df
iOS app and LibreOfficeKit. iOS app and LibreOfficeKit.
-- LibreOfficeKit
prelink all LO libraries into one to facilitate easier linking
-- LibreOfficeLight -- LibreOfficeLight
a swift based UI, very much work in progress a swift based UI, very much work in progress
...@@ -26,35 +23,27 @@ the 3 configurations of LO first, and then link against those. ...@@ -26,35 +23,27 @@ the 3 configurations of LO first, and then link against those.
Due to the multiple workdirs a separate work directories are needed as follows: 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) (names/locations can be changes, they are "linked" together by running autogen.sh)
./core - libreoffice git clone (name can be changed) ./core - libreoffice git clone (name can be changed)
./ios-arm64 - workdir for production, autogen.input: ./ios-arm64 - workdir for production
standard + ./ios-arm64-debug - workdir for debug on device
#--enable-debug ./ios-simulator - workdir for simulator-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 -- Steps to generate
1) copy ./core/distro-configs/LibreOfficeiOS.conf to autogen.input in 1) copy ./core/distro-configs/LibreOfficeiOS.conf to autogen.input in
./ios-arm64, ./ios-arm64-debug, ./ios-simulator ./ios-arm64, ./ios-arm64-debug, ./ios-simulator
Correct as per above, add your local setup (e.g. location of tarballs) 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 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 3) run make in ios-arm64, ios-arm64-debug and ios-simulator
this will generate core/loApp.xcconfig which prepares LO to be compiled this will generate core/loApp.xcconfig which prepares LO to be compiled
and build LOkit is 3 configurations and store the LibreOfficeKit and build LOkit is 3 configurations and store the preparedLibreOfficeKit
prelinked object in ./core/ios/generated as: in ./core/ios/generated as:
LibreOfficeKit-arm64.o release/libKit.a
LibreOfficeKit-arm64-debug.o release/libKit.dylib
LibreOfficeKit-simulator.o debug/libKit.a
5) open xcode with LibreOfficeLight add ./ios-app/ios/loApp.xconfig to the project. debug/libKit.dylib
simulator/libKit.a
simulator/libKit.dylib
5) open xcode with LibreOfficeLight select scheme and build/test/run.
6) enjoy 6) enjoy
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment