fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md in fastlane-2.82.0.beta.20180218010003 vs fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md in fastlane-2.82.0.beta.20180219010003

- old
+ new

@@ -118,11 +118,11 @@ ```no-highlight fastlane snapshot ``` -Your screenshots will be stored in the `./screenshots/` folder by default (or `./fastlane/screenshots` if you're using [fastlane](https://fastlane.tools)) +Your screenshots will be stored in the `./screenshots/` folder by default (or `./fastlane/screenshots` if you're using [_fastlane_](https://fastlane.tools)) New with Xcode 9, *snapshot* can run multiple simulators concurrently. This is the default behavior in order to take your screenshots as quickly as possible. This can be disabled to run each device, one at a time, by setting the `:concurrent_simulators` option to `false`. **Note:** While running *snapshot* with Xcode 9, the simulators will not be visibly spawned. So, while you wont see the simulators running your tests, they will, in fact, be taking your screenshots. @@ -181,11 +181,11 @@ The `Snapfile` can contain all the options that are also available on `fastlane action snapshot` ```ruby-skip-tests -scheme "UITests" +scheme("UITests") devices([ "iPhone 6", "iPhone 6 Plus", "iPhone 5", @@ -200,15 +200,15 @@ ]) launch_arguments(["-username Felix"]) # The directory in which the screenshots should be stored -output_directory './screenshots' +output_directory('./screenshots') -clear_previous_screenshots true +clear_previous_screenshots(true) -add_photos ["MyTestApp/Assets/demo.jpg"] +add_photos(["MyTestApp/Assets/demo.jpg"]) ``` ### Completely reset all simulators You can run this command in the terminal to delete and re-create all iOS and tvOS simulators: @@ -299,10 +299,10 @@ </h4> <hr /> ## Frame the screenshots -If you want to add frames around the screenshots and even put a title on top, check out [frameit](https://docs.fastlane.tools/actions/frameit/). +If you want to add frames around the screenshots and even put a title on top, check out [_frameit_](https://docs.fastlane.tools/actions/frameit/). ## Available language codes ```ruby ALL_LANGUAGES = ["da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "id", "it", "ja", "ko", "ms", "nl-NL", "no", "pt-BR", "pt-PT", "ru", "sv", "th", "tr", "vi", "zh-Hans", "zh-Hant"] ```