incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Created) (JIRA)" <>
Subject [jira] [Created] (CB-270) Cordova Installer Fails
Date Tue, 21 Feb 2012 06:35:34 GMT
Cordova Installer Fails

                 Key: CB-270
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
         Environment: Mac OS X
            Reporter: Shazron Abdullah
            Assignee: Shazron Abdullah

Show the Installer Log and report an issue in the Google Groups or Cordova Issue Tracker (JIRA

When the installer is launched, Apple-L to show the install log, then select "Show All Logs"
from the drop-down list. Run through the installation until you get the error (don't close
the installer down yet). Copy and Paste the log.

*Permissions Issues*
A previous installer (Cocos2D as an example that does this) installs their own templates using
the Root user, causing permissions issues for the PhoneGap installer, which does not need
root privileges to install.

Substitute [USERNAME] below for the name of your home account.

*The log might show this:*
/preinstall: mkdir: /Users/[USERNAME]/Library/Developer/Xcode/Templates/Project Templates:
Permission denied

*In Terminal, if you do:*
ls -la "/Users/[USERNAME]/Library/Developer/Xcode/" and go to the row with Templates

*It would show for example:*
drwxr-xr-x 12 root staff 408 3 May 00:18 Templates

That's the problem, the owner of the folder is root. You'll have to reclaim this for your
current user.
sudo chown [USERNAME] "/Users/[USERNAME]/Library/Developer/Xcode/Templates"

*Run the installer again, and it should work this time.*

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message