Errors installing PhoneGap

I was trying to install PhoneGap on my work MacBook yesterday and the installation would fail at the end, just saying the installation failed and I might “want to try again.”

Cmd-L showed me the entire log file. It turns out that cocos2d had installed a template for Xcode and marked the templates directory as owned by ‘root’.

So I changed the owner of the directory:

sudo chown fraffic “/Users/fraffic/Library/Application Support/Developer/Shared/Xcode/Project Templates”

Although I suspect that changing the permissions on the directory would’ve also fixed the issue.

After chown’ing, the install worked.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s