.app file appears in red (missing) in new projects with Xcode 4
Every time I create an Xcode 4 project (iPhone app, cocoa library...) the .app file or the .a file under Products group appears in red (is missing).
Even if I build the project the file stills in red.
All my settings are default.
Solution 1:
Try Building and Running on a device, I've noticed the same red text problem, but selected my iPhone and the red text has disappeared.
Solution 2:
I have solved the problem with the following process:
Select projectname -> Click project -> Build Setting -> Search "Per-configuration Build Products Path"
Remove the extra string from there.
- Finally confirm you have to add
$(BUILD_DIR)/$(CONFIGURATION)