<div dir="ltr">I'm seeing 7.375 MB for Swift 3 dylibs with a Release build, and I don't have WebKit, XPC, OnoneSupport, IOKit, CoreData, and AppKit in my binary when I create just a bare bones app.<div><br></div><div>Thanks,</div><div>Seth</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 15, 2016 at 5:59 PM Marco S Hyman <<a href="mailto:marc@snafu.org">marc@snafu.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Jun 15, 2016, at 5:37 PM, Seth Friedman via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:<br>
><br>
> Does anyone know if the runtime libs definitively increased in size in Swift 3? I could have sworn I heard 4.5 MB for Swift 2.<br>
<br>
The total of the Frameworks dir in a Swift 2.2 app I have is 5.8M. The breakdown for this app is:<br>
<br>
64K libswiftAppKit.dylib<br>
4.8M libswiftCore.dylib<br>
44K libswiftCoreData.dylib<br>
112K libswiftCoreGraphics.dylib<br>
32K libswiftCoreImage.dylib<br>
84K libswiftDarwin.dylib<br>
40K libswiftDispatch.dylib<br>
516K libswiftFoundation.dylib<br>
64K libswiftObjectiveC.dylib<br>
48K libswiftWebKit.dylib<br>
<br>
So how big might partially depend upon what frameworks the app uses. The same app in Swift 3 is 6.6M -- a little bit bigger. It’s breakdown is:<br>
<br>
76K libswiftAppKit.dylib<br>
4.5M libswiftCore.dylib<br>
44K libswiftCoreData.dylib<br>
116K libswiftCoreGraphics.dylib<br>
36K libswiftCoreImage.dylib<br>
68K libswiftDarwin.dylib<br>
40K libswiftDispatch.dylib<br>
552K libswiftFoundation.dylib<br>
36K libswiftIOKit.dylib<br>
64K libswiftObjectiveC.dylib<br>
1.0M libswiftSwiftOnoneSupport.dylib<br>
48K libswiftWebKit.dylib<br>
36K libswiftXPC.dylib<br>
<br>
The Swift 3 version is a debug build, the swift 2.2 version isn’t.</blockquote></div>