<html><body><div id="edo-message"><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">I remember somebody telling me it was, but it was years ago and I'm probably remembering it wrong. </span>Fair enough though; I got told on that one ðŸ˜¶</div><div><br></div><div>I'm standing by the principle - it shouldn't matter if you're running in a simulator or not. Use a compile flag if you must know, but in general I disagree with a compiler flag for determining the runtime platform for two platforms with the same API and triple.</div><div><div style="font-family: 'Helvetica Neue','Helvetica',Helvetica,Arial,sans-serif;font:'-apple-system-body';"><br></div></div></div><div id="edo-original"><div>Karl</div><div><br><blockquote type="cite" style="margin:1ex 0 0 0;border-left:1px #ccc solid;padding-left:0.5ex;"><div>On Jul 11, 2016 at 11:26 PM, &lt;<a href="mailto:gparker@apple.com">Greg Parker</a>&gt; wrote:<br><br></div><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 11, 2016, at 9:50 AM, Karl Wagner via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">- Also don't like the simulator condition variable. The iOS simulator is literally x86 iOS. If there was an x86 iPhone, theoretically your binaries would be compatible. The fact that it runs on a simulator instead of a real device is not such a vital distinction (or shouldn't be) that we need integrate it in the language. What would we do in the future if there ever was a real x86 iOS target?</div></div></div></blockquote><br class=""></div><div>The iOS simulator is not literally x86 iOS. It has changed ABI in incompatible ways in the past and reserves the right to do so in the future. Any real x86 iOS would have a real ABI which would likely differ from today's simulator.</div><div><br class=""></div><div><br class=""></div><div>--&nbsp;</div><div>Greg Parker &nbsp; &nbsp; <a href="mailto:gparker@apple.com" class="">gparker@apple.com</a>&nbsp; &nbsp; &nbsp;Runtime Wrangler</div></div></blockquote></div></div></body></html>