An error occurs when run iOSApp in KMM(Android studio), Could not able to configure schema. please see the attachment.
Run in console
xcode-select --print-path
I got this result
/Library/Developer/CommandLineTools
And it should be something like
/Applications/Xcode${xcode-number}/Xcode.app
So run in console
cd /Applications
Then run in console
ls -la
If you see Xcode.app
Else if you see something like
Xcode 8.0.3
Now you should run this in console
sudo xcode-select -switch ${path-to-xcode.app}/Xcode.app
example 1
sudo xcode-select -switch /Applications/Xcode.app
example 2
sudo xcode-select -switch /Applications/Xcode 8.0.3/Xcode.app
Update:
I also found this https://youtrack.jetbrains.com/issue/KT-41691
Go to XCode > Preferences > Locations > Command Line Tools
=> Select desired version of Xcode. This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With