Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Add a target option on the build command #4

Closed
cwagdev opened this issue Sep 28, 2012 · 4 comments
Closed

Add a target option on the build command #4

cwagdev opened this issue Sep 28, 2012 · 4 comments

Comments

@cwagdev
Copy link

cwagdev commented Sep 28, 2012

No description provided.

@mattt
Copy link
Contributor

mattt commented Sep 28, 2012

Shenzhen offers a scheme option. Is there any particular reason why target would be necessary as well?

@cwagdev
Copy link
Author

cwagdev commented Sep 28, 2012

Nope, scheme is what I meant, I am used to Jenkins referring to the scheme as a target. Can you specify the build configuration within a scheme as well?

@mattt
Copy link
Contributor

mattt commented Sep 28, 2012

Gotcha. Yeah, I still get those all confused occasionally, too.

A scheme is a combination of targets and a particular configuration. The extra configuration setting is there to make it easier to shift between adhoc and release builds... which may or not actually be useful. Interested to hear feedback on that.

But to answer your question and close the issue: yes—set the -s or --scheme flag on ipa build, or select it when prompted.

@mattt mattt closed this as completed Sep 28, 2012
@cwagdev
Copy link
Author

cwagdev commented Sep 29, 2012

Yeah, we use a build configuration to sub in different bundle-ids and other settings so that we can have multiple branches building and uploading to TestFlight while remaining separate. Basically a stable build and a development build. To reduce confusion during day to day development we used a single scheme, so all of our developers that aren't familiar with the build process don't need to think about it, they just run one scheme and the build configuration setting is buried away in the scheme setup. This also makes it so we don't need to maintain two schemes that are nearly identical.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants