In my case I haven't noticed any problems after running the installer
using sudo. The files get installed correctly and I can run Xcode as
my regular user. I can build and deploy apps without difficulty.
This appears to be the only way to work around the issue as the
installer package for PhoneGap 1.4.1 doesn't ask for elevated
permissions to install (hence the failure).
If you know of any specific issues that arise after installing with
su / sudo, please let me know. I'd love to know (so I don't rat-hole
myself troubleshooting). :)
Thanks
On Feb 22, 11:11 pm, Shazron <
shaz...@gmail.com> wrote:
> Running it as su will generally cause problems later, since
> PhoneGap/Cordova only needs the current user's permissions to install.
> This is what is going on, usually it is other third-party libraries
> running as root when they don't need to:
https://issues.apache.org/jira/browse/CB-270
>
>
>
>
>
>
>
> On Wed, Feb 22, 2012 at 8:48 PM, rion <
r...@boredwookie.net> wrote:
> > Hi atl,
>
> > I was able to resolve this by running the Installer from command line:
>
> > sudo Installer -pkg /Volumes/PhoneGap-1.4.1/PhoneGap-1.4.1.pkg -
> > target /
>
> > I wrote an article on the problem here:
> >
http://boredwookie.net/index.php/blog/installation-failed-message-whe...