Getting… rid of those red underline errors on your KMP project (iOS)

Getting… rid of those red underline errors on your KMP project (iOS) cover

This is a really short article, but I’ve noticed in a couple of projects, that the platform-specific folder for iOS is unable to identify the imports of the platform package that contains the SDK.

Something similar to:

This can easily be resolved, by adding to your project gradle.properties file the following attributes:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store