You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Clone https://github.com/SwiftGit2/SwiftGit2. I'm currently on c0c382227ec424f8538ddd25597defb8c4d54984.
2. Open workspace in Xcode
3. Open Repository.swift
4. Ctrl-Command-Click on a libgit2 function like git_remote_lookup
5. Ask Xcode to show the generated Swift interface
I can reproduce with `SwiftGit2` using Xcode 9.2, and my log looks basically like the attached one. The problem seems to be related to relative search paths/working directory. I knew we had issues there for Swift files, but I didn't expect it for header-interface generation.
Workaround: in the xcode project, change the first path in HEADER_SEARCH_PATHS:
Attachment: Download
Environment
Xcode 9.2.0
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 29425a09691456b69fb173648fe7680c
Issue Description:
1. Clone https://github.com/SwiftGit2/SwiftGit2. I'm currently on c0c382227ec424f8538ddd25597defb8c4d54984.
2. Open workspace in Xcode
3. Open Repository.swift
4. Ctrl-Command-Click on a libgit2 function like git_remote_lookup
5. Ask Xcode to show the generated Swift interface
I've attached the SourceKit log as suggested when I complained on twitter: https://twitter.com/mdiep/status/943162226789289984
The text was updated successfully, but these errors were encountered: