You could create a library that is built from the shared source files. This would be a third target which could be made a dependency of your present pair of targets.
Have file be part of multiple targets by default in Xcode
Pregunta
I have a project with two targets. As I add new files to the project, by default only one target is selected (see screenshot). Can I default to having both targets selected?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow