HomeiDevBlogADayThe Distro Scheme

Comments

The Distro Scheme — 3 Comments

  1. There’s a better way of doing things that I’ve been trying to find the time to write up properly. This is an abbreviated version.

    Ditch configurations. Instead of debug and release configurations, have development, ad hoc and App Store targets. This isn’t any more complex, and it is more flexible in several ways. One of these is relevant here.

    Go to the Build section of the scheme editor, and you will find you can add additional targets here. If you add your ad hoc and App Store targets, you can make sure that they are ticked only for archiving. Now, when you archive, both ad hoc and App Store builds will be created, and you don’t have to remember to manually switch schemes – one scheme is enough.

  2. Very nice! Thanks for sharing this. What I like about the multiple-scheme approach, as I described, is that you do have to specifically choose it, which means that as you’re doing it you can mentally recognize “Oh, this is something different that I don’t do often.” It has the additional advantage that you build just what you want, when you want it. But I think you’re approach may use schemes more in line with how Apple intended them to be used, so I am going to keep it in mind for future projects.

Leave a Reply

Your email address will not be published. Required fields are marked *

HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>