Could Not Find SDK On Kmm With AppCode

- 1 answer

I am very new to kotlin multiplatform mobile and tryed to start with AppCode and the kmm plugin. Creating and running the project on Android worked fine, but when I want to build or run the App for iOS I get the following gradle error:

Execution failed for task ':iosApp:generateIosAppEditableXcodeproj'.

> Could not find SDK.

Possible solution:
 - Declare repository providing the artifact, see the documentation at

I develop on a MacBook Pro M1 with macOS 12.1 and xCode 13.2.1.

How can I solve this problem?



Possibly related:

It seems like your Xcode does not have Command Line Tools installed. This can be changed by calling sudo xcode-select -s /Applications/ or by installing them manually at the Xcode's Preferences -> Locations -> Command Line Tools.