fastlane-old / snapshot

Automate taking localized screenshots of your iOS app on every device
https://fastlane.tools
1.96k stars 141 forks source link

Run on real device #473

Closed toru0707 closed 8 years ago

toru0707 commented 8 years ago

Hello.

I'm using fastlane snapshot for caputuring the screenshots. Is there a way to run snapshot on real device?

When I tried to specify real device name in Snapfile, it failed with following messages

[09:12:40]: Error setting value '["RSDIxxx"]' for option 'devices'

[!] Device 'RSDIxxx' not in list of available simulators 'iPhone 4s, iPhone 5, iPhone 5s, iPhone 6, iPhone 6 Plus, iPhone 6s, iPhone 6s Plus, iPad 2, iPad Retina, iPad Air, iPad Air 2, iPad Pro'

My Snapfile is following.

devices([
#   "iPhone 6",
#   "iPhone 6 Plus"
#   "iPhone 5",
#   "iPhone 4s",
#   "iPad Retina",
   "RSDIxxx"
])

languages([
  "ja-JP"
])

# The name of the scheme which contains the UI Tests
scheme "UITests"

# Where should the resulting screenshots be stored?
output_directory "./screenshots"
fastlane-bot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/1635. 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 :rocket: