Exception: XCSim::BundleNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/xcsim/rbBundleInfo.rb

Overview

An error, which is raised by GetBundle class when bundle ID specified by :bundleID option has not been found (even with partial match) on the device

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(os, device, bundleID) ⇒ BundleNotFoundError

Initializes a BundleNotFoundError instance with a given os, device and bundleID



55
56
57
58
59
# File 'lib/xcsim/rbBundleInfo.rb', line 55

def initialize(os, device, bundleID)
  @os = os
  @device = device
  @bundleID = bundleID
end

Instance Attribute Details

#bundleIDObject (readonly)

Bundle ID provided in :bundleID option



52
53
54
# File 'lib/xcsim/rbBundleInfo.rb', line 52

def bundleID
  @bundleID
end

#deviceObject (readonly)

A DeviceID object corresponding to the device, which was used when searching for the application bundle



49
50
51
# File 'lib/xcsim/rbBundleInfo.rb', line 49

def device
  @device
end

#osObject (readonly)

An OSDevices object corresponding to the OS version, which was used when searching for the application bundle



45
46
47
# File 'lib/xcsim/rbBundleInfo.rb', line 45

def os
  @os
end