Created
January 9, 2017 04:44
-
-
Save haxpor/54e82fdb1c8d6f574ee69f129867496e to your computer and use it in GitHub Desktop.
Example of Snapfile working with fastlane version 2.5.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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", | |
"iPad Pro (12.9 inch)" | |
# "iPad Pro (9.7 inch)", | |
# "Apple TV 1080p" | |
]) | |
languages([ | |
"en-US", | |
"fr-FR", | |
"zh-Hans" | |
#["pt", "pt_BR"] # Portuguese with Brazilian locale | |
]) | |
# The name of the scheme which contains the UI Tests | |
scheme "FastlaneTestUITests" | |
# Where should the resulting screenshots be stored? | |
output_directory "./screenshots" | |
clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones | |
# Choose which project/workspace to use | |
project "./FastlaneTest.xcodeproj" | |
# workspace "./Project.xcworkspace" | |
# Arguments to pass to the app on launch. See https://github.com/fastlane/snapshot#launch-arguments | |
# launch_arguments(["-favColor red"]) | |
# For more information about all available options run | |
# snapshot --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment