<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 20, 2017, at 7:34 AM, tuuranton--- via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
  
  <div class="">
<div class="">I want the entire code for my entire Mac app to look like this .swift script:</div><div class=""><br class=""></div><div class="">#!/path/to/swift</div><div class=""><br class=""></div><div class="">import Cocoa</div><div class=""><br class=""></div><div class="">// The rest of my entire Mac app.</div><div class=""><br class=""></div><div class="">Because we don't yet have binary stability, I guess I'd have to put the swift binary (which runs the above .swift script) and a bunch of .dylibs into the Mac .app bundle somehow.</div><div class=""><br class=""></div><div class="">Is this possible to do and if so, how?</div></div></div></blockquote><br class=""></div><div>It is not. The first problem is that there is no value of "/path/to/swift" that will work everywhere.</div><br class=""><div class=""><br class=""></div><div class="">--&nbsp;</div><div class="">Greg Parker &nbsp; &nbsp; <a href="mailto:gparker@apple.com" class="">gparker@apple.com</a>&nbsp; &nbsp; &nbsp;Runtime Wrangler</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>