Drag and Dropping 3rd party frameworks into project moves the framework file instead of printing option dialogue.

Originator:fatuous.logic
Number:rdar://32732236 Date Originated:13/06/2017
Status:Open Resolved:
Product:Xcode Product Version:Version 9.0 beta (9M136h)
Classification:Bug Reproducible:Always
 
Summary:
Previously in Xcode when 3rd party frameworks needed to be added, but not moved or copied into the project directory (using Carthage for example), a dialogue box would pop up and we could uncheck the 'Copy Files' option.

This dialogue no longer shows for framework bundles, however, when the project adds it the red highlight occurs as it references the original location of the framework bundle and not the new destination.

Steps to Reproduce:
Open an Xcode project.
Drag a .framework file from Finder or Desktop into the project structure

Expected Results:
A dialogue to show up offering the choice to copy the files to the destination if required.

Observed Results:
- The framework is moved from it's original destination to the new destination based on where you drop it on the project.
- The project references the original location of the framework.
- The left side project heirachy highlights the added framework/s as red due to referencing the original location but moving the framework to the new location.

Notes:
To work around I go to finder and move the frameworks back to their original location. This makes the red highlight go back to normal as the reference exists once moved back.

Comments


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!