RamsayCons
RamsayCons

Reputation: 81

Are Swift's embedded dylibs still required in macOS apps?

The Swift 5 release notes say:

Swift apps no longer include dynamically linked libraries for the Swift standard library and Swift SDK overlays in build variants for devices running iOS 12.2, watchOS 5.2, and tvOS 12.2.

But there is no mention of macOS in the same context.

Do Mac applications written in Swift 5 still need to embed those 15 Swift dylibs (libswiftCore.dylib, libswiftFoundation.dylib, etc) consuming 11MB? It appears that, by default, Xcode 10.2 still embeds them.

Upvotes: 2

Views: 454

Answers (2)

Wilfred Smith
Wilfred Smith

Reputation: 154

It's still a really good idea to include them so that you have compatibility with more devices.

Upvotes: 0

Ezekiel
Ezekiel

Reputation: 2514

No, they do not. However, you need to target macOS 10.14.4 to take advantage of this.

Upvotes: 4

Related Questions