Exception: XCSim::NonUniqueBundleIDError

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

Overview

An error raised by XCSim::findBundleDataPath function when multiple directories matching the given bundle ID are found on the same simulator device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceID, bundleID, directories) ⇒ NonUniqueBundleIDError

Initializes a NonUniqueBundleIDError object with the given parameters



22
23
24
25
26
# File 'lib/xcsim/rbAppBundles.rb', line 22

def initialize(deviceID, bundleID, directories)
  @bundleID = bundleID
  @deviceID = deviceID
  @directories = directories
end

Instance Attribute Details

#bundleIDObject (readonly)

A bundle ID string, which caused the error



16
17
18
# File 'lib/xcsim/rbAppBundles.rb', line 16

def bundleID
  @bundleID
end

#deviceIDObject (readonly)

A DeviceID object representing the iOS Simulator on which the error has occurred



13
14
15
# File 'lib/xcsim/rbAppBundles.rb', line 13

def deviceID
  @deviceID
end

#directoriesObject (readonly)

An array of strings containing absolute paths for directories matching the given bundle ID



19
20
21
# File 'lib/xcsim/rbAppBundles.rb', line 19

def directories
  @directories
end