Xcode duplicates SPM binary dependency framework into the Plugins folder if iOS app has extensions.

Number:rdar://FB8821442 Date Originated:10/23/2020
Status:Open Resolved:
Product:Xcode Product Version:12.1
Classification:Incorrect/Unexpected behavior Reproducible:Yes
Steps to reproduce
1. Create an iOS project.
2. Add a SPM binary framework dependency.
3. Add Action extension to the app.
4. Build/Archive the project.
3. Check the Plugins folder of the built app.


Please note: 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!