[swift-users] Broken Syntax Highlighting + Code Completion
David Hart
david at hartbit.com
Wed Aug 30 11:42:29 CDT 2017
Hi everybody,
I have a 99% pure Swift 4 project (1% of Objective-C) in Xcode 9 beta 6 and the syntax highlighting and code completion is completely broken. I’m writing here in case it’s a Swift problem and unrelated to Xcode.
Jordan Rose suggested I run Xcode with SOURCEKIT_LOGGING=2 and here are the outputted logs:
default 18:22:07.321659 +0200 com.apple.dt.SKAgent IDEIndexing: SwiftDataSource: No import session for file ‘File1.swift’
default 18:22:07.321659 +0200 com.apple.dt.SKAgent IDEIndexing: SwiftDataSource: No import session for file ‘File2.swift'
// ... one for each file in the project
default 18:22:07.791113 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.792943 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.794858 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.796640 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.798514 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.800277 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.802086 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
default 18:22:07.803843 +0200 com.apple.dt.SKAgent IDEIndexing: Failed to get settings for /Users/david/Projects/mimosa.iosapp/Vendor/CleanroomLogger/CleanroomLoggerTests-3B90590B1DAECB5200B4EEC0 - build system did not respond
Any ideas if its a SourceKit or Xcode related issue?
Regards,
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170830/802d360a/attachment.html>
More information about the swift-users
mailing list