Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26320] Xcode 10: Cannot build native modules in Xcode IDE when using new build-system (default)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionHold
Resolution Date2018-09-06T06:14:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2018-08-20T11:29:15.000+0000
Updated2018-09-06T20:41:17.000+0000

Description

Related to TIMOB-26109, Xcode cannot find the header-source-paths used before (e.g. #import "TiApp.h") from ~/Library/Application Support/Titanium/mobilesdk/osx/7.3.0.GA/iphone/include/ anymore. While building the module works fine, building the library from Xcode, for example to debug the development process, does not work anymore. The radar is [rdar://40906817](http://www.openradar.me/40906817) and it's still open after 2 months of iOS 12 / Xcode 10 Beta testing. For our current module architecture, this is fundamental. For our new Swift support and framework-based modules, this will not be an issue anymore, but all existing modules will still be affected by it. As a workaround, the developer can go to File > Project Settings and select the "Legacy Build System" which does not has this issue.

Comments

  1. Hans Knöchel 2018-09-06

    Putting ticket on hold and putting it as a known issue with Xcode 10. The workaround can be found above and should also be mentioned in the announcements + release notes (cc [~amukherjee] [~bimmel])

JSON Source