gkeenley
gkeenley

Reputation: 7378

What does it mean when .xcodeproj files are shown in red in Xcode?

What does it mean when Library files are shown in red, as in the screenshot below? Does it mean these files have been added, but there's something missing from them?

enter image description here

Upvotes: 3

Views: 2649

Answers (3)

Fisky
Fisky

Reputation: 134

this happens when location mismatches or actual file is not there . search for these files in your mac , if is there , click on info and find the location . And if it differs , drag the file to app's necessary folder and in the pop up select copy

Upvotes: 0

Rob
Rob

Reputation: 437552

As matt said earlier, this is because the project (notably the project.pbxproj file) has a reference to these files/subprojects, but they’re not found in the location in question. This can happen if you deleted them, renamed them, or you cloned some repo where someone forgot to add these to source control even though they’re supposed to be. It’s hard to say what happened without more information, but Xcode merely is telling you that files are not where the main project.pbxproj file is expecting them to be.

Upvotes: 2

matt
matt

Reputation: 535159

This means that the reference to those two files has been lost. Someone moved or deleted them behind Xcode's back, and it no longer knows where they are.

Upvotes: 4

Related Questions