incubator-callback-dev mailing list archives

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

                 Key: CB-270
                 URL: https://issues.apache.org/jira/browse/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
here).

 
*How:*
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:*
{code}
/preinstall: mkdir: /Users/[USERNAME]/Library/Developer/Xcode/Templates/Project Templates:
Permission denied
{code}

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

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

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

 
*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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message