[TIMOB-25947] iOS: Integrate TitaniumKit into the build pipeline, recompile on config changes
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | None |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2020-12-04T22:38:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI, iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Vijay Singh |
Created | 2018-04-09T08:35:44.000+0000 |
Updated | 2020-12-04T22:38:55.000+0000 |
Description
One major task resulting of TIMOB-25927 is that we want the framework to be added as a target dependency of the main Xcode project. This is possible via Xcode > Build Phases > Target Dependencies. The problem is that we cannot just generate a .framework that works will all configurations.
Precompiler flags like IS_XCODE_XXX or USE_TI_XXX are necessary in situations where we want to rip out portions of the SDK for unsupported Xcode versions and unused API's, primarily to save file size and prevent apps from being rejected from the App Store.
Thats why the CLI has to detect certain project changes and trigger a new build if necessary. In theory, this could already be done by Xcode, detecting changes in the framework and recompiling its parts automatically. But this should be validated, so we can ensure the build pipeline is not broken for recurring and clean builds.
[~amukherjee] This has been done as part of TIMOB-25927 already and can be closed.
Fixed as part of TIMOB-25927.