With Swift 5 and iOS 12.2+ should I change "Always Embed Swift Standard Libraries" to NO?

The default for new projects is NO and (as far as I know) always has been. I have never had "Always embed" set to YES, and my projects have always worked just fine. So unless there is some really good reason why this was YES, it probably shouldn't have been.

Note that the libraries are stripped out only if you are building against the 12.2 SDK and going onto a machine with 12.2 (or later). The libraries are still needed to run on a 12.1 or earlier machine.


I came here because I've updated my development environment to :

XCode 10.2 iOS 12.2 WatchOS 5.1.3

And my apps refused to even start on the watch, with a single message to console, saying library image not found. (using Swift4 build setting)

Setting "always embed" to on makes the app install process incredibly slow on the watch.

I updated the project to use Swift5, now the app at least starts up again.

Tags:

Ios

Xcode

Swift