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-14391] SPM setup with symlinks breaks autocompletion, syntax highlighting, and more in Xcode #56749

Closed
DevAndArtist mannequin opened this issue Mar 23, 2021 · 5 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. off topic Resolution: Is beyond the scope of the Swift project (Xcode, proprietary Apple frameworks, etc.) Xcode

Comments

@DevAndArtist
Copy link
Mannequin

DevAndArtist mannequin commented Mar 23, 2021

Previous ID SR-14391
Radar rdar://problem/75732781
Original Reporter @DevAndArtist
Type Bug
Status Resolved
Resolution Invalid

Attachment: Download

Environment

Xcode 12.4 (12D4e) and Xcode 12.5 beta 3

Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)

Target: arm64-apple-darwin20.3.0

Additional Detail from JIRA
Votes 1
Component/s Source Tooling
Labels Bug, Crash
Assignee None
Priority Medium

md5: 24af80d1fae869d857dc3d070076e5cf

Issue Description:

Here is a tiny project that breaks syntax highlighting, autocompletion, option + click on types etc.

@weissi
Copy link
Member

weissi commented Mar 23, 2021

@swift-ci create

@weissi
Copy link
Member

weissi commented Mar 23, 2021

CC @benlangmuir

@DevAndArtist
Copy link
Mannequin Author

DevAndArtist mannequin commented Mar 23, 2021

@weissi I added another zip which extends the project as the "workaround" is still partly broken as well. The second target that remains using the symlink does start to highlight, but it highlights the wrong paths.

@DevAndArtist
Copy link
Mannequin Author

DevAndArtist mannequin commented Mar 23, 2021

This is a very critical issue in our project and it would be great if the next Xcode version could fix this issue.

@benlangmuir
Copy link
Member

Thanks for reporting! The issue here appears to be that we are failing to compute compiler arguments for this file, which is a bug in Xcode integration rather than the Swift open source tooling. We filed an issue internally to track this, but if you would like to be notified when it's fixed you can file an issue at feedbackassistant.apple.com and mention it here.

I'm marking the resolution of this as "Invalid" since that's the closest thing we have to "not part of Swift.org".

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added Xcode and removed crash Bug: A crash, i.e., an abnormal termination of software labels Sep 17, 2022
@AnthonyLatsis AnthonyLatsis added the off topic Resolution: Is beyond the scope of the Swift project (Xcode, proprietary Apple frameworks, etc.) label Nov 2, 2022
@AnthonyLatsis AnthonyLatsis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. off topic Resolution: Is beyond the scope of the Swift project (Xcode, proprietary Apple frameworks, etc.) Xcode
Projects
None yet
Development

No branches or pull requests

3 participants