Snapshot is running on each simulator twice
Closed this issue · 6 comments
Hi,
I'm running snapshot and its opening each simulator twice, so i'm getting eace screen shot twice.
devices([
"iPhone 6",
"iPhone 6 Plus",
"iPhone 5",
"iPhone 4s"
])
Can you please post your full Snapfile?
# Uncomment the lines below you want to change by removing the # in the beginning
# A list of devices you want to take the screenshots from
devices([
"iPhone 6",
# "iPhone 6 Plus",
# "iPhone 5",
# "iPhone 4s"
])
languages([
"da"
])
# Arguments to pass to the app on launch. See https://github.com/fastlane/snapshot#launch-arguments
launch_arguments([
"-username user",
"-password pass"
])
# The name of the scheme which contains the UI Tests
scheme "Quest"
# Where should the resulting screenshots be stored?
output_directory "./fastlane/screenshots"
clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones
# Choose which project/workspace to use
# project "./Project.xcodeproj"
workspace "./Quest.xcworkspace"
# For more information about all available options run
# snapshot --help
This is because you're passing multiple launch arguments (https://github.com/fastlane/snapshot#launch-arguments)
"Specify multiple argument strings and snapshot will generate screenshots for each combination of arguments, devices, and languages. This is useful for comparing the same screenshots with different feature flags, dynamic text sizes, and different data sets."
Thanks, works great.
👍
This issue was migrated to fastlane/fastlane#2486. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀