Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7736] Avoid 'Permission denied' when installing module templates in Mac

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-08-23T23:08:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
Reporterjordi domenech
AssigneeEric Merriman
Created2012-01-23T03:02:30.000+0000
Updated2017-03-16T21:38:26.000+0000

Description

Hi, When 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. BTW, 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 I've modified install.py in order to achieve it and it works for me. You can check how simple it is here: https://github.com/iamyellow/titanium_mobile/commit/3aedc246f5e439d96c0d8dbeea03817480e8b211#diff-12 Hope it helps

Comments

  1. Chris Barber 2016-08-23

    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. See https://github.com/appcelerator/titanium_mobile/blob/415bd6c66dcc55b1a59a59574f3babd3c3a84ede/iphone/templates/module/default/hooks/install-xcode-templates.js.
  2. Lee Morris 2017-03-16

    Closing ticket as the issue cannot be reproduced.

JSON Source