Ad
Could Not Find SDK On Kmm With AppCode
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 https://docs.gradle.org/current/userguide/declaring_repositories.html
I develop on a MacBook Pro M1 with macOS 12.1 and xCode 13.2.1.
How can I solve this problem?
Ad
Answer
Possibly related: https://youtrack.jetbrains.com/issue/KMA-355
It seems like your Xcode does not have Command Line Tools installed. This can be changed by calling sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
or by installing them manually at the Xcode's Preferences -> Locations -> Command Line Tools
.
Ad
source: stackoverflow.com
Related Questions
- → Function Undefined in Axios promise
- → What are the pluses/minuses of different ways to configure GPIOs on the Beaglebone Black?
- → Click to navigate on mobile devices
- → Playing Video - Server is not correctly configured - 12939
- → How to allow api access to android or ios app only(laravel)?
- → Axios array map callback
- → Access the Camera and CameraRoll on Android using React Native?
- → Update React [Native] View on Day Change
- → Shopify iOS SDK - issue converting BuyProductVariant to BuyProduct
- → BigCommerce and shopify API
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → React Native - Differences between Android and IOS
- → What is the difference between React Native and React?
Ad