Class: FastlaneCore::Simulator::Device
- Inherits:
-
Object
- Object
- FastlaneCore::Simulator::Device
- Defined in:
- lib/fastlane_core/simulator.rb
Overview
Example Output for ‘instruments -s`
Known Devices:
Felix [A8B765B9-70D4-5B89-AFF5-EDDAF0BC8AAA]
Felix Krause's iPhone 6 (9.0.1) [2cce6c8deb5ea9a46e19304f4c4e665069ccaaaa]
iPad 2 (9.0) [863234B6-C857-4DF3-9E27-897DEDF26EDA]
iPad Air (9.0) [3827540A-D953-49D3-BC52-B66FC59B085E]
iPad Air 2 (9.0) [6731E2F9-B70A-4102-9B49-6AEFE300F460]
iPad Retina (9.0) [DFEE2E76-DABF-47C6-AA1A-ACF873E57435]
iPhone 4s (9.0) [CDEB0462-9ECD-40C7-9916-B7C44EC10E17]
iPhone 5 (9.0) [1685B071-AFB2-4DC1-BE29-8370BA4A6EBD]
iPhone 5s (9.0) [C60F3E7A-3D0E-407B-8D0A-EDAF033ED626]
iPhone 6 (9.0) [4A822E0C-4873-4F12-B798-8B39613B24CE]
iPhone 6 Plus (9.0) [A522ACFF-7948-4344-8CA8-3F62ED9FFB18]
iPhone 6s (9.0) [C956F5AA-2EA3-4141-B7D2-C5BE6250A60D]
iPhone 6s Plus (9.0) [A3754407-21A3-4A80-9559-3170BB3D50FC]
Known Templates:
"/Applications/Xcode70.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate"
"/Applications/Xcode70.app/Contents/Applications/Instruments.app/Contents/PlugIns/OpenGLESAnalyzerInstrument.xrplugin/Contents/Resources/OpenGL ES Analysis.tracetemplate"
"/Applications/Xcode70.app/Contents/Applications/Instruments.app/Contents/PlugIns/XRMobileDeviceDiscoveryPlugIn.xrplugin/Contents/Resources/Energy Diagnostics.tracetemplate"
Instance Attribute Summary collapse
-
#ios_version ⇒ Object
Returns the value of attribute ios_version.
-
#name ⇒ Object
Returns the value of attribute name.
-
#udid ⇒ Object
Returns the value of attribute udid.
Instance Method Summary collapse
-
#initialize(name: nil, udid: nil, ios_version: nil) ⇒ Device
constructor
A new instance of Device.
- #to_s ⇒ Object
Constructor Details
#initialize(name: nil, udid: nil, ios_version: nil) ⇒ Device
Returns a new instance of Device.
71 72 73 74 75 |
# File 'lib/fastlane_core/simulator.rb', line 71 def initialize(name: nil, udid: nil, ios_version: nil) self.name = name self.udid = udid self.ios_version = ios_version end |
Instance Attribute Details
#ios_version ⇒ Object
Returns the value of attribute ios_version.
69 70 71 |
# File 'lib/fastlane_core/simulator.rb', line 69 def ios_version @ios_version end |
#name ⇒ Object
Returns the value of attribute name.
65 66 67 |
# File 'lib/fastlane_core/simulator.rb', line 65 def name @name end |
#udid ⇒ Object
Returns the value of attribute udid.
67 68 69 |
# File 'lib/fastlane_core/simulator.rb', line 67 def udid @udid end |
Instance Method Details
#to_s ⇒ Object
77 78 79 |
# File 'lib/fastlane_core/simulator.rb', line 77 def to_s self.name end |