Xcode Storyboard is not able to differentiate between same named files in a single project that have different targets.

Originator:stuartbreckenridge1
Number:rdar://29504629 Date Originated:2016-12-05
Status:Open Resolved:
Product:Xcode Product Version:
Classification: Reproducible:Y
 
1. Create a New Single View Application for iOS
2. Add a New Cocoa Mac Application target
3. Open the `Main.storyboard` file for the Mac Application target
4. Drag a NSButton from the Object Library onto the View Controller
5. Click the Show the Assistant Editor button
	- Issue: The Assistant Editor shows the `ViewController.swift` application target for iOS.
6. Using the Assistant Editor's Manual Mode, select the `ViewController.swift` file for the Mac Application Target.
7. Drag from the NSButton to the `ViewController.swift` file and create an outlet or action for the button.
	- Issue: The outlet or action is added to the `ViewController.swift` file for the iOS target.

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!