IMO, “target environment” and “simulator” are clear and self-explanatory; “destination” means nothing to me, and just because Xcode uses it in the context of a GUI does not mean that it is the best solution. I’m very much in favor of this proposal exactly as it is.<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 20, 2017 at 20:50 Ben Rimmington via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; On 21 Nov 2017, at 00:17, Jonathan Hull wrote:<br>
&gt;<br>
&gt; I would also like to see something shorter than targetEnvironment(), but it is somewhat infrequently used, so it isn’t that big a deal.  It is just compared to os() and arch(), this is kind of a beast.  It is a power user thing, so maybe something like ‘env()’ would work?  I normally try to avoid abbreviations, but we have arch() as precedent.  The word ‘Simulator’ should be what stands out...<br>
<br>
Xcode uses `destination`:<br>
<br>
e.g. &lt;<a href="https://help.apple.com/xcode/mac/9.0/#/dev40e0a11aa" rel="noreferrer" target="_blank">https://help.apple.com/xcode/mac/9.0/#/dev40e0a11aa</a>&gt;<br>
<br>
e.g. &lt;<a href="https://help.apple.com/xcode/mac/9.0/#/dev7b20475ba" rel="noreferrer" target="_blank">https://help.apple.com/xcode/mac/9.0/#/dev7b20475ba</a>&gt;<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>