I am following the hands on tutorial on KMM, and reached the point where I should write the iOS part of the app, however, when I head over to any of the .swift
files, there's no syntax highlighting, the content appears as a plain text file.
From what I see, the iosApp
is not recognized at all as a module (like the androidApp
, that has the name of the module highlighted via bold font), I suppose that is the issue.
Any thoughts on how to fix this?
You'll need to use Xcode or (possibly) AppCode. Android Studio and the KMM plugin do not understand or highlight Swift code directly.