[TIMOB-28156] iOS: Module build failing for modules not having platform directory
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-10-05T14:43:28.000+0000 |
Affected Version/s | Release 9.2.0 |
Fix Version/s | Release 9.2.1 |
Components | n/a |
Labels | build, iOS |
Reporter | Vijay Singh |
Assignee | Vijay Singh |
Created | 2020-09-29T23:36:32.000+0000 |
Updated | 2020-10-05T16:14:13.000+0000 |
Description
While building ti.map module using SDK 9.2.0.GA, I am getting following error -
[ERROR] Failed to run command "build"
[ERROR] Error: ENOENT: no such file or directory, scandir '/Users/vijay/Documents/Projects/Titanium/titanium_modules/ti.map/ios/platform'
at Object.readdirSync (fs.js:790:3)
at iOSModuleBuilder.<anonymous> (/Users/vijay/Library/Application Support/Titanium/mobilesdk/osx/9.2.0.GA/iphone/cli/commands/_buildModule.js:521:7)
at cli.env.getOSInfo.osInfo (/Users/vijay/Library/Application Support/Titanium/mobilesdk/osx/9.2.0.GA/iphone/cli/commands/_buildModule.js:555:27)
PR - https://github.com/appcelerator/titanium_mobile/pull/12142 @QE Build ti.map (It does not have 'platform' directory) and ti.facebook(It has platform directory). Both should build without error.
FR Passed Waiting for Jenkins build
FR 2 passed. Ticket closed.
Fix verified in SDK's 9.2.1.v20201002104158 and 9.3.0.v20201002103630