Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

XCode mass PBXCp Error

After opening the project on a mac with newly installed system and XCode, almost all source and resource files are shown as red (missing), despite the fact that they are present.

When compiling, a PBXcp error pops up, showing the (correct) path to the file and telling "No such file or directory".

Removing the file from Project navigator and readding it does not work. Removing the from "Build phases" and readding does work, but since there are hundreds of filed in several different folders, replacing them all is not feasible. Any ideas as to how to fix that would be appreciated.

P.S. the project compiles and builds without a problem on 3 other machines.

MacBook, OS X Mountain Lion (10.8.2)

Posted on Jan 17, 2013 5:07 AM

Reply
1 reply

Jan 17, 2013 12:24 PM in response to Satsuoni

You may need to change how the files are referenced. Open the file inspector by choosing View > Utilities > Show File Inspector. Select the files and make a choice from the Location menu. I recently had a problem where one of my source code files was red. Using the Location menu to change the location from Relative to Group to Relative to Project fixed the problem for me. I can't say if it will work for you, but it's something to try.

XCode mass PBXCp Error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.