You can add Run Script Build Phase for any purpose to post-process the assembly. The correct approach, as a rule, is to create an Aggregate Target, which first creates the target model of the assembly product, and then runs the Script on the output.
"" . $(SRCROOT), Root → (src) (projfiles), $(SRCROOT) , . , script , .
, , , , , , , . " " "" " " - . .
Xcode , Snapshots; , . Snapshots .
Chris