I thought I understood what
Always Embed Swift Standard Libraries did, but now I̵
I pushed an update to one
MacOS app to the App Store and a user said it crashed for him on
macOS High Sierra. After a very quick investigation, it seems that the fast libraries were missing, and one of my frames was written quickly (the main app was
ObjC). I switched
Always Embed Swift Standard Libraries to
YES, reloaded a new version, and everything was fine with the world.
I have now uploaded a brand new one
iOS app to
Testflight which is built for
iOS 9.3+ and remembered about this problem so thought i would test it out. The
Always Embed Swift Standard Libraries the setting is set to
NO which must have been
Xcode default. I downloaded the app through
TestFlight on a
iOS 9.3.2 device that expects it to crash at launch, but no, the app works just fine.
How can one
macOS app crashes on 1 main version behind
macOS but one
iOS the app can run just fine it
iOS there are 4 major versions behind?
Do I completely misunderstand what this setting does?
When should we use
Always Embed Swift Standard Libraries?
—– EDIT I just checked
.app the content, and it seems to have fast libraries, which would explain why t did not crash on
iOS 9.3.2. So an extra question. Why would the healthy libraries be there when
Always Embed Swift Standard Libraries is set to