Appium 1.6.4 GUI - Could not extract info.plist file doesn't exist


#1

Hello,
I am using Appium-desktop GUI 1.6.4. with MAC OS 10.12.4 and application is developed in XCode 8.3. While trying to launch my app it shows “Could not extract info.plist file doesn’t exist”


#2
Preformatted textFollowing is the log 
[Appium] Welcome to Appium v1.6.4
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app","automationName":"XCUITest","deviceName":"iPhone 7","no reset":true,"platformName":"iOS","platformVersion":"10.3","newCommandTimeout":0,"connectHardwareKeyboard":true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app","automationName":"XCUITest","deviceName":"iPhone 7","no reset":true,"platformName":"iOS","platformVersion":"10.3","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null,null,null]
[BaseDriver] Event 'newSessionRequested' logged at 1492506002410 (04:00:02 GMT-0500 (CDT))
[Appium] Creating new XCUITestDriver (v2.27.2) session
[Appium] Capabilities:
[Appium]   app: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app'
[Appium]   automationName: 'XCUITest'
[Appium]   deviceName: 'iPhone 7'
[Appium]   no reset: true
[Appium]   platformName: 'iOS'
[Appium]   platformVersion: '10.3'
[Appium]   newCommandTimeout: 0
[Appium]   connectHardwareKeyboard: true
[XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] The following capabilities were provided, but are not recognized by appium: no reset.
[BaseDriver] Session created with session id: 5e16f27a-fe0b-4202-a4c5-36fe46b6b9d4
[XCUITest] Xcode version set to '8.3.1' 
[XCUITest] iOS SDK Version set to '10.3'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1492506002506 (04:00:02 GMT-0500 (CDT))
[iOSSim] Constructing iOS simulator for Xcode version 8.3.1 with udid 'FA8C1325-2DC8-48DD-AD2C-05E65CE1B5CB'
[XCUITest] Determining device to run tests on: udid: 'FA8C1325-2DC8-48DD-AD2C-05E65CE1B5CB', real device: false
[BaseDriver] Using local app '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app'
[BaseDriver] Event 'appConfigured' logged at 1492506002747 (04:00:02 GMT-0500 (CDT))
[XCUITest] Checking whether app '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app' is actually present on file system
[XCUITest] App is present
[Support] Error: Plist file doesn't exist:
'/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at Object.parsePlistFile$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/plist.js:22:11)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
 Error: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at Object.parsePlistFile$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/plist.js:22:11)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[iOS] Error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at extractPlist$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/app-utils.js:14:9)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
 Error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at extractPlist$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/app-utils.js:14:9)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] Error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at extractPlist$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/app-utils.js:14:9)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
 Error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at extractPlist$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/app-utils.js:14:9)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[MJSONWP] Encountered internal error running command: Error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/appium/Library/Developer/Xcode/DerivedData/TMail21-dmybdkupgscruddlwidnftkyxrhp/Build/Products/Debug-iphonesimulator/TMail21.app/Info.plist'
    at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
    at extractPlist$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-ios-driver/lib/app-utils.js:14:9)
    at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)

#3

Hi,

Even i was facing the same issue but then i tried to run the build directly on the device and then i fetched .app from the xcode(open the xcode->on the left corner you see the folder with name “show the project navigator” copy that .app to your local system) use this app and set this path instead of previous one. Try to run your code. I hope it should work!