Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28156] iOS: Module build failing for modules not having platform directory

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-10-05T14:43:28.000+0000
Affected Version/sRelease 9.2.0
Fix Version/sRelease 9.2.1
Componentsn/a
Labelsbuild, iOS
ReporterVijay Singh
AssigneeVijay Singh
Created2020-09-29T23:36:32.000+0000
Updated2020-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)

Comments

  1. Vijay Singh 2020-09-29

    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.
  2. Satyam Sekhri 2020-09-30

    FR Passed Waiting for Jenkins build
  3. Sohail Saddique 2020-10-05

    FR 2 passed. Ticket closed.
  4. Sohail Saddique 2020-10-05

    Fix verified in SDK's 9.2.1.v20201002104158 and 9.3.0.v20201002103630

JSON Source