On Jun 15, 2016, at 5:37 PM, Seth Friedman via swift-users 
<swift-users@swift.org> wrote:
> 
> 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.

The total of the Frameworks dir in a Swift 2.2 app I have is 5.8M.  The 
breakdown for this app is:

 64K    libswiftAppKit.dylib
4.8M    libswiftCore.dylib
 44K    libswiftCoreData.dylib
112K    libswiftCoreGraphics.dylib
 32K    libswiftCoreImage.dylib
 84K    libswiftDarwin.dylib
 40K    libswiftDispatch.dylib
516K    libswiftFoundation.dylib
 64K    libswiftObjectiveC.dylib
 48K    libswiftWebKit.dylib

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:

 76K    libswiftAppKit.dylib
4.5M    libswiftCore.dylib
 44K    libswiftCoreData.dylib
116K    libswiftCoreGraphics.dylib
 36K    libswiftCoreImage.dylib
 68K    libswiftDarwin.dylib
 40K    libswiftDispatch.dylib
552K    libswiftFoundation.dylib
 36K    libswiftIOKit.dylib
 64K    libswiftObjectiveC.dylib
1.0M    libswiftSwiftOnoneSupport.dylib
 48K    libswiftWebKit.dylib
 36K    libswiftXPC.dylib

The Swift 3 version is a debug build, the swift 2.2 version isn’t.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to