{ "id": "172196", "key": "TIMOB-26371", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-09-18T13:42:06.000+0000", "created": "2018-09-07T14:36:28.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2018-12-03T13:45:12.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h5.Description\r\n\r\nWhen building to an iOS device the build fails with the below, this looks to be because of the change to run things in parallel rather than series in https://github.com/appcelerator/titanium_mobile/pull/10236, the write app props just needs to ensure the directory exists before it tries to write to it\r\n\r\n{code}\r\n[INFO] Writing app properties\r\nError: ENOENT: no such file or directory, open '/Users/eharris/Documents/Appcelerator_Studio_Workspace/where/build/iphone/assets/_app_props__json'\r\n at Object.fs.openSync (fs.js:646:18)\r\n at Object.fs.writeFileSync (fs.js:1299:33)\r\n at iOSBuilder.writeAppProps (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/iphone/cli/commands/_build.js:5823:8)\r\n at tasks.(anonymous function) (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/node-appc/lib/async.js:37:7)\r\n at /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:3880:24\r\n at eachOfArrayLike (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:1069:9)\r\n at eachOf (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:1117:5)\r\n at _parallel (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:3879:5)\r\n at Object.parallelLimit [as parallel] (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:3962:5)\r\n at parallel (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/node-appc/lib/async.js:56:8)\r\n---------------------------------------------\r\n at iOSBuilder. (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/iphone/cli/commands/_build.js:4668:10)\r\n at Object.whilst (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:5227:5)\r\n at iOSBuilder.cleanXcodeDerivedData (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/iphone/cli/commands/_build.js:4644:8)\r\n at /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:3880:24\r\n at replenish (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:1011:17)\r\n at iterateeCallback (/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:995:17)\r\n at /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:969:16\r\n at /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.v20180821060223/node_modules/async/dist/async.js:3885:13\r\n at /Users/eharris/Documents/git/titanium/node_modules/async/dist/async.js:473:16\r\n{code}\r\n\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build an app using {{appc run -p ios -T device}}\r\n\r\nh5.Actual\r\n\r\nAbove error is thrown\r\n\r\nh5.Expected\r\n\r\nError should not be thrown", "attachment": [], "flagged": false, "summary": "iOS: Build throws ENOENT when building to iOS device", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "SDK: 8.0.0.v20180821060223", "closedSprints": [ { "id": 1073, "state": "closed", "name": "2018 Sprint 19 SDK", "startDate": "2018-09-09T21:02:56.422Z", "endDate": "2018-09-23T21:02:00.000Z", "completeDate": "2018-09-23T22:28:10.932Z", "originBoardId": 114 }, { "id": 1070, "state": "closed", "name": "2018 Sprint 18 SDK", "startDate": "2018-08-26T16:14:35.297Z", "endDate": "2018-09-09T16:14:00.000Z", "completeDate": "2018-09-11T20:59:21.495Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "441413", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/10313", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-09-07T14:45:38.000+0000", "updated": "2018-09-07T14:45:38.000+0000" }, { "id": "444158", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-03T13:44:58.000+0000", "updated": "2018-12-03T13:44:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }