Typically, a file is part of several default targets in Xcode.

I have a project with two goals. When I add new files to the project, by default only one target is selected (see screenshot). Can I select both targets by default?

Last screen in add file wizard

+4
source share
1 answer

You can create a library created from shared source files. This will be the third goal that could become dependent on your current pair of goals.

+1
source

Source: https://habr.com/ru/post/1493270/


All Articles