Behavior change for `.copy(...)` in SPM packages in Xcode 27 causes resources in packages to not properly compile resulting in missing resources

It seems that the behavior of the .copy rule in SPM packages has changed in Xcode 27.

This change now results in raw files being copied into the bundle without compilation, resulting in crashes and missing resources since uncompiled resources cannot be used by the OS.

More specifically, in Xcode 26, when .copy was applied to resources such as storyboards, asset catalogs, etc. it would cause Xcode to compile those resources into the respective storyboardc or Assets.car before copying. Xcode 27 does not do this and instead copies the raw files.

I do understand that there is a difference between .process and .copy, and the documentation does state that the process rule needs to be used for those files.

Is this a regression in Xcode 27 or is copy not compiling anything expected behavior?

Submitted FB23115950

Behavior change for `.copy(...)` in SPM packages in Xcode 27 causes resources in packages to not properly compile resulting in missing resources
 
 
Q