Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25947] iOS: Integrate TitaniumKit into the build pipeline, recompile on config changes

GitHub Issuen/a
TypeStory
PriorityNone
StatusResolved
ResolutionDuplicate
Resolution Date2020-12-04T22:38:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI, iOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2018-04-09T08:35:44.000+0000
Updated2020-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.

Comments

  1. Hans Knöchel 2019-06-17

    [~amukherjee] This has been done as part of TIMOB-25927 already and can be closed.
  2. Vijay Singh 2020-12-04

    Fixed as part of TIMOB-25927.

JSON Source