[TIMOB-26320] Xcode 10: Cannot build native modules in Xcode IDE when using new build-system (default)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Hold |
Resolution Date | 2018-09-06T06:14:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2018-08-20T11:29:15.000+0000 |
Updated | 2018-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.
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])