{ "id": "85292", "key": "TIMOB-7736", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-08-23T23:08:51.000+0000", "created": "2012-01-23T03:02:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:38:26.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Hi,\r\n\r\nWhen I try to create a new module (command line) it does BUT it complaints because it cannot write the templates as it seems my user doesn't have permissions to write there... yes, weird. \r\n\r\nBTW, as I've read somewhere I suggest that the module templates should be installed under home directory: PATH_TO_USER_HOME/Library/Developer/XCode/Templates\r\nI've modified install.py in order to achieve it and it works for me. You can check how simple it is here:\r\nhttps://github.com/iamyellow/titanium_mobile/commit/3aedc246f5e439d96c0d8dbeea03817480e8b211#diff-12\r\n\r\nHope it helps", "attachment": [], "flagged": false, "summary": "Avoid 'Permission denied' when installing module templates in Mac", "creator": { "name": "iamyellow", "key": "iamyellow", "displayName": "jordi domenech", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "iamyellow", "key": "iamyellow", "displayName": "jordi domenech", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS X 10.7.2\r\nTi SDK 1.8.0.1", "comment": { "comments": [ { "id": "394006", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Since Titanium SDK 5.0.0, we only install the Xcode templates to the user's home directory for which they certainly should have access to.\r\n\r\nSee https://github.com/appcelerator/titanium_mobile/blob/415bd6c66dcc55b1a59a59574f3babd3c3a84ede/iphone/templates/module/default/hooks/install-xcode-templates.js.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-23T23:08:51.000+0000", "updated": "2016-08-23T23:08:51.000+0000" }, { "id": "413144", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:38:26.000+0000", "updated": "2017-03-16T21:38:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }