No syntax highlighting for dependency code in my Swift package

I have a Swift package that I have written, and it has two dependencies.

I'm using Xcode 11.3.1, and any code that I type that references types/objects/methods of one of my dependencies is void of highlighting, auto-complete or option-click functionality.

I've tried cleaning derived-data and restarting among many other things and it just never seems to work.

Any ideas?

Does it build though?

Do you have a correct comment at the top of the manifest file with the correct Swift version your xcode supports? This is mandatory.

// swift-tools-version:5.1

Downloaded 11.4 and using 5.2 tools now and no issues. :man_shrugging:

Terms of Service

Privacy Policy

Cookie Policy