Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.2 how to automatically compile source files dragged into project?

Tags:

xcode

ios

iphone

A quick question,

Up to date, all of my Xcode 4.2 projects automatically compiled everything that I dragged into the list of sources on the left. But recently this stopped happening. The files that I drag into the project just sit there, and I have to manually add them to the project>build phases > compile sources.

How can I restore the Xcode's ability to automatically compile everything that I drag and copy into the project?

Thank you!

like image 789
Alex Stone Avatar asked Jan 29 '26 14:01

Alex Stone


1 Answers

Whe you drag files into the Project Navigator, you get a confirmation window where you can select the targets to which to add the files. Make sure the check box is checked.

enter image description here

like image 169
sch Avatar answered Feb 01 '26 06:02

sch