Exception: XCSim::NonUniqueBundleIDError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- XCSim::NonUniqueBundleIDError
- 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
-
#bundleID ⇒ Object
readonly
A bundle ID string, which caused the error.
-
#deviceID ⇒ Object
readonly
A DeviceID object representing the iOS Simulator on which the error has occurred.
-
#directories ⇒ Object
readonly
An array of strings containing absolute paths for directories matching the given bundle ID.
Instance Method Summary collapse
-
#initialize(deviceID, bundleID, directories) ⇒ NonUniqueBundleIDError
constructor
Initializes a NonUniqueBundleIDError object with the given parameters.
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
#bundleID ⇒ Object (readonly)
A bundle ID string, which caused the error
16 17 18 |
# File 'lib/xcsim/rbAppBundles.rb', line 16 def bundleID @bundleID end |
#deviceID ⇒ Object (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 |
#directories ⇒ Object (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 |