Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14840] Typo in Package.swift changes run destination #4409

Open
swift-ci opened this issue Jun 28, 2021 · 1 comment
Open

[SR-14840] Typo in Package.swift changes run destination #4409

swift-ci opened this issue Jun 28, 2021 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14840
Radar rdar://problem/79922198
Original Reporter stevex (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 13 beta 2
macOS 11.4

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 5a3496c877b4ab9034ded8d66b21a5dd

Issue Description:

Open the attached Package.swift and set the run destination to an iPad.

Pick Test on the Product menu, and the tests will run (and fail, but that's a separate bug).

Open up the Package.swift file in the editor, and make any change so that the file no longer compiles: The run destination will change to "No Devices".

Now fix the typo, and the run destination will change again, on my computer to "Matthew's iPhone", a device I haven't connected in months.

This is a constant annoyance, since any typo in this file resets the run destination.

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants