Unable to change location / path settings after migrating Xcode project?

In XCode 4, when you have all three panes open, select the file in the left most pane. In the right most pane, select the white document icon at the top, looking for the header "Identity and Type. " Under the popup for "location" is the name of the file.To the right of that name is a tiny icon like a window.

Click on that, and you can set the location of the file.

Thanks for your answer, but that's exactly what I've been doing several times now - still get 'Interface Builder could not open the document "MainWindow. Xib" because it does not exist. ' – Fruity Oct 18 '11 at 13:59.

Right-click on the files in Finder, select Get Info. Check that you have permission to read the files. Edit: Just noticed the error messages refer to the old path, so it can't be a permissions problem.

Groups can have paths set as well. Select the groups and verify that their paths are correct.

Just checked - I do have full permission to read and write. – Fruity Oct 18 '11 at 14:52 I just realised that. Check my edit for another possibility.

– Jim Oct 18 '11 at 14:53 The group paths are also entered correctly (relative, new Mac). Still, when I try to build, I receive error messages displaying another, wrong path (absolute, old Mac). Is this some kind of Xcode Personality Disorder?!

– Fruity Oct 18 '11 at 15:05 Open Terminal, cd /Users/Menonmynewmac/etc and run grep -ri Meonmyoldmac .. Hopefully that search will ferret out which files or settings are responsible. – Jim Oct 18 '11 at 15:11.

I performed the terminal search suggested by Jim yesterday, found some 'source tree: absolute' entries in project. Pbxproj and tried to manipulate them, which didn't work - couldn't even open the project in Xcode afterwards - so I called it a day. Just now I did what I already tried yesterday before posting my question: I deleted the files from the project and copied them back in again.

That miraculously eliminated all red warning signs from my project and just gave me a nice green SIGABRT when I tried to run it on the simulator. Cleaned project, restarted Xcode - perfect. Oh, and I checked the targeted device family setting, found that it was set to iPhone and switched it to iPhone/iPad - no idea if that was part of the issue.

I'm not sure if that's really an answer to the problem - but the problem has vanished... Thanks for your help!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions