Re: building with different assets/strings
Re: building with different assets/strings
- Subject: Re: building with different assets/strings
- From: Quincey Morris <email@hidden>
- Date: Thu, 13 Apr 2017 17:28:18 -0700
On Apr 13, 2017, at 16:02 , Torsten Curdt <email@hidden> wrote:
When I add a class to the project I need to make sure they are added to both targets. So I am maintaining a list per target. I need to make sure those lists are the same. Hence the manually syncing.
This is the part I don’t understand. In a multi-target project — and especially in this case where most of the files are shared between targets — you have the option of adding a new file (with a new class) to both targets when you create it, just by checking two target checkboxes in the new-file dialog. This setting is remembered by Xcode, so you often don’t have to think about it again.
I can understand that *if* you go to the build phases of the two targets to figure out if they’re the same (in the parts where they should be), it can be awkward to compare the lists, but it’s almost never necessary to go to the build phases pane at all any more. Using the target membership checkboxes (either in the dialog in initial file creation, or in the File Inspector afterwards) is much easier.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden