Changing an xcode project Path with lowercase path issue

Posted by joneswah on Stack Overflow See other posts from Stack Overflow or by joneswah
Published on 2010-02-10T04:48:55Z Indexed on 2010/04/02 17:03 UTC
Read the original article Hit count: 803

Filed under:
|

I have a problem with an Xcode project which has a path of "/users/me/blah" with a lowercase 'u'. When I check my other projects (in the General Tab of the Project Info Window the Path starts with a uppercase "Users".

This causes a couple of problems. When I try and add an existing file which is "relative to group" or "Relative to Project" it thinks it needs to change directory all the way to the root. For example the path for any included file ends up as "../../../../Users/me/blah" which then prevents the project working on other peoples machine because the "relative" is essentially an absolute path... sigh.

The other side effect is that when you select "Add Existing Files" instead of greying out all of the already included files, it leaves ALL of the files available for selection. Because it thinks files in "Users" are different to "users".

I have tried re checking out the project into a different directory but no difference.

I am not sure how I ended up with the wrong path in the first instance. No doubt something stupid that I did.

Anyone have a clue on how I change the project path or resolve this?

thanks

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone