My Appfile
looks like this currently:
apple_id "[email protected]"
app_identifier "com.xxx.xxx"
ENV["FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD"] = "xxxx-xxxx-xxxx-xxxx"
ENV["FASTLANE_PASSWORD"] = "myAppIdPassword"
ENV["DELIVER_USER"] = "[email protected]"
ENV["FASTLANE_USER"] = "[email protected]"
ENV["FASTLANE_TEAM_ID"] = "myTeamId"
And I have Fastfile
like this:
default_platform(:ios)
platform :ios do
desc "Description of what the lane does"
lane :qa do
increment_build_number
build_app(
clean: true
)
verify_build(
bundle_identifier: "com.xxx.xxx.project-name"
)
upload_to_testflight(skip_submission: true)
end
end
What is happening is that when I run this from console, fastlane doesn't read from app file, and it asks me about login information. Also my apple id has two factor auth enabled, and I have created app specific password as it can be seen from Appfile, but it still doesn't work. It looks like Appfile is not parsed, or I use wrong syntax? I am getting smth like this:
[15:22:51]: ----------------------------------
[15:22:51]: --- Step: upload_to_testflight ---
[15:22:51]: ----------------------------------
[15:22:51]: To not be asked about this value, you can specify it using 'username'
/Users/admin/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
[15:22:51]: Your Apple ID Username:
What would be the way that I don't have to enter anything by hand in terminal prompts?
EDIT:
Maybe this is important... I have two factor authentication enable on my apple id. But I thought its enough to use: FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD
I recently worked with fastlane , here is what I used
app_identifier("com.xxx.xxx") # The bundle identifier of your app
apple_id("[email protected]") # Your Apple email address
itc_team_id(“123456”) # App Store Connect Team ID
team_id(“1a2”d3f5g6g) # Developer Portal Team ID
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