Oct 6, 2024
Ensure that Fastlane is properly installed. You can install it using:
gem install fastlane
Check if you're in the iOS/Android directory: Since fastlane is mainly used for automating iOS/Android builds, the fastlane init command needs to be run inside the ios or android directory of your Flutter project, not in the root of the project.