Unit Test targets should have "Always Embed Swift Libraries" enabled by default
||Date Originated:||03-Mar-2017 12:03 PM|
||Product Version:||Version 8.3 beta 3 (8W132p)|
As existing Apple developers transition from Objective C to Swift, more and more of us will run into situations where we add a Swift dependency to unit tested code, and witness the unit testing target fails to run because of missing Swift libraries.
Because a Unit Test target is not designed to be shipped, and because the CopySwiftLibs build phase has no effect in the absence of linked Swift binaries, there is little to no risk in enabling the "Always Embed" option for Unit Test targets.
I think that flipping this switch to on by default will save developers time and frustration.
Steps to Reproduce:
Version 8.3 beta 3 (8W132p)
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!