Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.app file appears in red (missing) in new projects with Xcode 4

Tags:

xcode4

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.

like image 835
Miguel Beltran Avatar asked Mar 23 '11 17:03

Miguel Beltran


2 Answers

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.

like image 56
daihovey Avatar answered Sep 19 '22 04:09

daihovey


I have solved the problem with the following process:

  1. Select projectname -> Click project -> Build Setting -> Search "Per-configuration Build Products Path"

  2. Remove the extra string from there.

  3. Finally confirm you have to add $(BUILD_DIR)/$(CONFIGURATION)

enter image description here

like image 24
dhaya Avatar answered Sep 21 '22 04:09

dhaya