Appium tests fail on iOS

https://travis-ci.org/apache/cordova-plugin-camera/jobs/547251028
Jasmine started
*****F
  Camera tests iOS.
    Specs.
      ✗ camera.ui.spec.7 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.7 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.19 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.19 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.17 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.17 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.71 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.71 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.8 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.8 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
**F      ✗ camera.ui.spec.12.70 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.70 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.65 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.65 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
**F      ✗ camera.ui.spec.12.32 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.32 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.6 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.6 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.66 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.66 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
**F      ✗ camera.ui.spec.12.7 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.7 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.49 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.49 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.48 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.48 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.18 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.18 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.11 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL, quality=100
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.11 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL, quality=100
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
****F      ✗ camera.ui.spec.12.72 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.72 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.68 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.68 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.1 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.1 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
F      ✗ camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
F      ✗ camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
*F      ✗ camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.45 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.45 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.29 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.29 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.44 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.44 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.69 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.69 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.51 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.51 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.10 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL, quality=100
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.10 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL, quality=100
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.26 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.26 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.47 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.47 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.50 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.50 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.30 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.30 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.67 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.67 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.31 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.31 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.27 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.27 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.4 Verifying target image size, sourceType=SAVEDPHOTOALBUM
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.4 Verifying target image size, sourceType=SAVEDPHOTOALBUM
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.46 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.46 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.24 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.24 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.5 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.5 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.1 Selecting only videos
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
F      ✗ camera.ui.spec.1 Selecting only videos
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
F      ✗ camera.ui.spec.1 Selecting only videos
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'quit' of undefined
*F      ✗ camera.ui.spec.5 Verifying target image size, sourceType=PHOTOLIBRARY
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.5 Verifying target image size, sourceType=PHOTOLIBRARY
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.41 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.41 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.25 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.25 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.43 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.43 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.56 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.56 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.53 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.53 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.55 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.55 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.3 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.3 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.22 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.22 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.20 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.20 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.4 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.4 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.54 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.54 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.42 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.42 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.52 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.52 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.23 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.23 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
*F      ✗ camera.ui.spec.12.21 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.21 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: true
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.2 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
F      ✗ camera.ui.spec.12.2 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
        - Failed: Failed to start a session
        - TypeError: Cannot read property 'then' of undefined
      ✗ Specs.
        - Failed: Failed to start a session
        - Failed: Failed to start a session
F    ✗ camera.ui.util Destroy the session
      - Failed: Failed to start a session
      - TypeError: Cannot read property 'quit' of undefined
F    ✗ camera.ui.util Destroy the session
      - Failed: Failed to start a session
      - TypeError: Cannot read property 'quit' of undefined

 > POST /session/:sessionID/element {"using":"accessibility id","value":"Cancel"}
F    ✗ camera.ui.util configure driver and start a session
      - Unhandled promise rejection: Error: [acceptAlert()] Error response status: 27, NoAlertOpenError - An attempt was made to operate on a modal dialog when one was not open. Selenium error: An attempt was made to operate on a modal dialog when one was not open.
Failures:
1) Camera tests iOS. Specs. camera.ui.spec.7 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:429:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:429:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
2) Camera tests iOS. Specs. camera.ui.spec.7 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:429:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:429:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
3) Camera tests iOS. Specs. camera.ui.spec.12.19 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
4) Camera tests iOS. Specs. camera.ui.spec.12.19 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
5) Camera tests iOS. Specs. camera.ui.spec.12.17 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
6) Camera tests iOS. Specs. camera.ui.spec.12.17 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
7) Camera tests iOS. Specs. camera.ui.spec.12.71 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
8) Camera tests iOS. Specs. camera.ui.spec.12.71 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
9) Camera tests iOS. Specs. camera.ui.spec.12.8 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
10) Camera tests iOS. Specs. camera.ui.spec.12.8 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
11) Camera tests iOS. Specs. camera.ui.spec.12.70 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
12) Camera tests iOS. Specs. camera.ui.spec.12.70 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
13) Camera tests iOS. Specs. camera.ui.spec.12.65 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
14) Camera tests iOS. Specs. camera.ui.spec.12.65 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
15) Camera tests iOS. Specs. camera.ui.spec.12.32 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
16) Camera tests iOS. Specs. camera.ui.spec.12.32 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
17) Camera tests iOS. Specs. camera.ui.spec.12.6 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
18) Camera tests iOS. Specs. camera.ui.spec.12.6 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
19) Camera tests iOS. Specs. camera.ui.spec.12.66 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
20) Camera tests iOS. Specs. camera.ui.spec.12.66 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
21) Camera tests iOS. Specs. camera.ui.spec.12.7 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
22) Camera tests iOS. Specs. camera.ui.spec.12.7 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
23) Camera tests iOS. Specs. camera.ui.spec.12.49 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
24) Camera tests iOS. Specs. camera.ui.spec.12.49 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
25) Camera tests iOS. Specs. camera.ui.spec.12.48 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
26) Camera tests iOS. Specs. camera.ui.spec.12.48 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
27) Camera tests iOS. Specs. camera.ui.spec.12.18 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
28) Camera tests iOS. Specs. camera.ui.spec.12.18 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
29) Camera tests iOS. Specs. camera.ui.spec.11 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL, quality=100
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:487:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:487:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
30) Camera tests iOS. Specs. camera.ui.spec.11 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL, quality=100
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:487:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:487:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
31) Camera tests iOS. Specs. camera.ui.spec.12.72 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
32) Camera tests iOS. Specs. camera.ui.spec.12.72 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
33) Camera tests iOS. Specs. camera.ui.spec.12.68 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
34) Camera tests iOS. Specs. camera.ui.spec.12.68 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
35) Camera tests iOS. Specs. camera.ui.spec.12.1 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
36) Camera tests iOS. Specs. camera.ui.spec.12.1 Combining options. sourceType: PHOTOLIBRARY, destinationType: DATA_URL, encodingType: JPEG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
37) Camera tests iOS. Specs. camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:306:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'quit' of undefined
  Stack:
        at <Jasmine>
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:308:21)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
        at Timer.listOnTimeout (timers.js:214:5)
38) Camera tests iOS. Specs. camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:306:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'quit' of undefined
  Stack:
        at <Jasmine>
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:308:21)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
        at Timer.listOnTimeout (timers.js:214:5)
39) Camera tests iOS. Specs. camera.ui.spec.12.28 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:306:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'quit' of undefined
  Stack:
        at <Jasmine>
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:308:21)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
        at Timer.listOnTimeout (timers.js:214:5)
40) Camera tests iOS. Specs. camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:443:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:443:13)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
41) Camera tests iOS. Specs. camera.ui.spec.8 Verifying target image size, sourceType=PHOTOLIBRARY, destinationType=FILE_URL
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:443:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:443:13)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
42) Camera tests iOS. Specs. camera.ui.spec.12.45 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
43) Camera tests iOS. Specs. camera.ui.spec.12.45 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
44) Camera tests iOS. Specs. camera.ui.spec.12.29 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
45) Camera tests iOS. Specs. camera.ui.spec.12.29 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
46) Camera tests iOS. Specs. camera.ui.spec.12.44 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
47) Camera tests iOS. Specs. camera.ui.spec.12.44 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
48) Camera tests iOS. Specs. camera.ui.spec.12.69 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
49) Camera tests iOS. Specs. camera.ui.spec.12.69 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at ontimeout (timers.js:386:11)
        at tryOnTimeout (timers.js:250:5)
50) Camera tests iOS. Specs. camera.ui.spec.12.51 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
51) Camera tests iOS. Specs. camera.ui.spec.12.51 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
52) Camera tests iOS. Specs. camera.ui.spec.10 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL, quality=100
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:473:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:473:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
53) Camera tests iOS. Specs. camera.ui.spec.10 Verifying target image size, sourceType=SAVEDPHOTOALBUM, destinationType=FILE_URL, quality=100
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:473:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:473:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
54) Camera tests iOS. Specs. camera.ui.spec.12.26 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
55) Camera tests iOS. Specs. camera.ui.spec.12.26 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
56) Camera tests iOS. Specs. camera.ui.spec.12.47 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
57) Camera tests iOS. Specs. camera.ui.spec.12.47 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
58) Camera tests iOS. Specs. camera.ui.spec.12.50 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
59) Camera tests iOS. Specs. camera.ui.spec.12.50 Combining options. sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
60) Camera tests iOS. Specs. camera.ui.spec.12.30 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
61) Camera tests iOS. Specs. camera.ui.spec.12.30 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
62) Camera tests iOS. Specs. camera.ui.spec.12.67 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
63) Camera tests iOS. Specs. camera.ui.spec.12.67 Combining options. sourceType: SAVEDPHOTOALBUM, destinationType: NATIVE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
64) Camera tests iOS. Specs. camera.ui.spec.12.31 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
65) Camera tests iOS. Specs. camera.ui.spec.12.31 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
66) Camera tests iOS. Specs. camera.ui.spec.12.27 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
67) Camera tests iOS. Specs. camera.ui.spec.12.27 Combining options. sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: JPEG, allowEdit: false, correctOrientation: true
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:500:17)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
68) Camera tests iOS. Specs. camera.ui.spec.4 Verifying target image size, sourceType=SAVEDPHOTOALBUM
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:385:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:385:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
69) Camera tests iOS. Specs. camera.ui.spec.4 Verifying target image size, sourceType=SAVEDPHOTOALBUM
  Message:
    Failed: Failed to start a session
  Stack:
    Error: Failed: Failed to start a session
        at <Jasmine>
        at checkSession (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:278:13)
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:212:9)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:385:13)
        at <Jasmine>
  Message:
    TypeError: Cannot read property 'then' of undefined
  Stack:
        at <Jasmine>
        at runSpec (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:215:13)
        at UserContext.<anonymous> (/private/var/folders/17/5mc7816d3mndxjqgplq6057w0000gn/T/tmp-2708lwGIwn6Ur59G/plugins/cordova-plugin-camera/appium-tests/ios/ios.spec.js:385:13)
        at <Jasmine>
        at runCallback (timers.js:672:20)