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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With