I'm new to Fastlane. Does anyone know how to fix this error from running
fastlane ios myLane
.
The output:
[12:50:11]: fastlane finished with errors
[!] Unable to locate Xcode. Please make sure to have Xcode installed on your machine
But I have the newest Xcode (9.3.1) installed from Mac App Store.
fastlane --version
fastlane 2.95.0
which is the newest version.
ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
Try check Preferences in Xcode under Locations and be sure you have selected your Xcode version in the Command Line Tools dropdown:
CLI approach:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
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