New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fastlane deliver init is not working in CLI #21960
Comments
Hello, The error you’re encountering with the fastlane deliver init command indicates that the api_key parameter is expected to be a Hash, but a String was provided instead. This is a common issue when the API key is not formatted correctly in your Fastfile or environment variables. Here’s how you can resolve this issue: Format the API Key as a Hash: The api_key should be provided as a Hash object. If you’re defining it in your Fastfile, it should look something like this: app_store_connect_api_key( Use a JSON File: Alternatively, you can create a JSON file containing your API key details and reference it in your Fastfile. The JSON file should have the following format: { I hope it's helpful for you. Best Regard, |
What is an issue ?
We are trying
fastlane deliver init
command and it is throwing following error[!] 'api_key' value must be a Hash! Found String instead.
fastlane env details
`
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./fastlane/Fastfile`
No Appfile found
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2024-04-09
The text was updated successfully, but these errors were encountered: