Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto include/compile source codes using folder reference in XCode4

In XCode4, when we add a new folder which is a folder reference under the Resource folder, the images found under this folder will be automatically copies to the device, no need to add them one by one.

How about for source code? Is it possible to create a folder reference for the Classes folder, so when I add new source files under this folder in the file system, it will automatically compiled and linked?

Thanks.

like image 780
Howard Avatar asked Mar 20 '26 04:03

Howard


1 Answers

The answer is no, something new in a referenced folder doesn't trigger the routine to add the .m file to the Compile Sources build phase, because a folder itself cannot be in that phase. A referenced folder in the resource folder is copied recursively.

like image 170
Nick Weaver Avatar answered Mar 21 '26 18:03

Nick Weaver