Ogre Xcode 4 Templates fail to install with Xcode 4.1 & Lion

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
User avatar
darkranger
Gnoblar
Posts: 3
Joined: Mon Jul 25, 2011 1:59 am

Ogre Xcode 4 Templates fail to install with Xcode 4.1 & Lion

Post by darkranger »

I'm following The "How to get Ogre3D running on iOS in 15 minutes!" tutorial on the wiki and the installer for the xcode templates is failing with a The installation has failed screen. I have attached the installer log as well.

I'm running Mac OS X Lion (10.7) and I'm using Xcode 4.1

P.S.
:) I hope this is enough to appear as a real person
You do not have the required permissions to view the files attached to this post.
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Ogre Xcode 4 Templates fail to install with Xcode 4.1 &

Post by masterfalcon »

From looking at the log, it sounds like a permissions issue. I would check the permissions on folders leading up to here ~/Library/Developer/Xcode/Templates/File Templates/, this is where it's trying to write but fails.
User avatar
darkranger
Gnoblar
Posts: 3
Joined: Mon Jul 25, 2011 1:59 am

Re: Ogre Xcode 4 Templates fail to install with Xcode 4.1 &

Post by darkranger »

Thank you so much :D

It looks like I ran the cocos2d template installer as root and it installed in my home directory, and created some folders as it self. I ended up finding a folder that belonged to root.

Thank you again
User avatar
darkranger
Gnoblar
Posts: 3
Joined: Mon Jul 25, 2011 1:59 am

Re: Ogre Xcode 4 Templates fail to install with Xcode 4.1 &

Post by darkranger »

to the user that sent me a pm,

I got the templates to work by fixing the permissions because cocos2d and changed file ownership

check the file ownership on all the directories in this path and make sure they're writable by the user who is install

/Library/Application Support/Developer/Shared/Xcode/Project Templates

When I fixed that I Was able to install and get ogre running on my phone