Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26981] iOS: Module builds broken

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2019-04-12T14:50:34.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sRelease 8.0.1
ComponentsiOS
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2019-04-11T18:00:40.000+0000
Updated2019-04-17T13:50:07.000+0000

Description

Some of the iOS native module build are completely broken with SDK 8.0.0. appcelerator.encrytpeddatabase is one that breaks due to the removal of some headers in the packaged SDK's iphone/include folder. The necessary headers are included in iphone/Classes, but used to have duplicates in iphone/include. we should have redirecting headers placed there. Additionally, a good deal of the core code moved into the TitaniumKit framework and this headers are inside the framework. We need redirecting headers for those. Lastly, we should consider some mechanism to automatically include the TitaniumKit framework into the module build. Otherwise module authors have to modify the titanium.xcconfig to add:
DEVELOPER_FRAMEWORKS_DIR = "$(TITANIUM_SDK)/iphone/Frameworks"
FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_FRAMEWORKS_DIR) $(inherited)

Comments

  1. Christopher Williams 2019-04-12

    merged to master, cherry-picked to 8_0_X. Tested locally by building appcelerator.encrypteddatabase with a locally built SDK.
  2. Samir Mohammed 2019-04-17

    Closing ticket. Able to build iOS modules on 8.1.0.v20190416065710 and 8.0.1.v20190415060903.

JSON Source