Hi Folks,
I am also getting same error "no profile matching âprovisioning profileâ found: Xcode couldnât find a profile matching âprovisioning profileâ, however I have created provisioning profile with the same account used to build the app. Can anyone help on this? following is the error trace:
[Appium] Welcome to Appium v1.6.0 (REV b134e1af00e0aa83f686e31c020c9b2b4ce53b18)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {âdesiredCapabilitiesâ:{âdeviceNameâ:âiPhone 6sâ,âudidâ:âcfc28f7a68b714e7f0e188bbb802e5316b7643cbâ,âappâ:"/Users/nagarro/Desktop/Melody_app/home-owner-app.app",âautoWebviewâ:true,ârealDeviceLoggerâ:"/usr/local/lib/node_modules/deviceconsole/deviceconsole",âsendKeyStrategyâ:âsetValueâ,ânewCommandTimeoutâ:9000,âplatformVersionâ:â10.0â,âplatformNameâ:âiOSâ,âautomationNameâ:âXCUITestâ}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{âdeviceNameâ:âiPhone 6sâ,âŚ
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: âiPhone 6sâ
[Appium] udid: âcfc28f7a68b714e7f0e188bbb802e5316b7643cbâ
[Appium] app: â/Users/nagarro/Desktop/Melody_app/home-owner-app.appâ
[Appium] autoWebview: true
[Appium] realDeviceLogger: â/usr/local/lib/node_modules/deviceconsole/deviceconsoleâ
[Appium] sendKeyStrategy: âsetValueâ
[Appium] newCommandTimeout: 9000
[Appium] platformVersion: â10.0â
[Appium] platformName: âiOSâ
[Appium] automationName: âXCUITestâ
[debug] [XCUITest] XCUITestDriver version: 2.0.26
[BaseDriver] Session created with session id: e70a45bc-37ab-4ed0-a912-e35c7e0d03d3
[debug] [XCUITest] Xcode version set to â8.0â
[debug] [XCUITest] iOS SDK Version set to â10.0â
[debug] [XCUITest] Available devices: cfc28f7a68b714e7f0e188bbb802e5316b7643cb
[debug] [XCUITest] Creating iDevice object with udid cfc28f7a68b714e7f0e188bbb802e5316b7643cb
[XCUITest] Determining device to run tests on: udid: âcfc28f7a68b714e7f0e188bbb802e5316b7643cbâ, real device: true
[BaseDriver] Using local app â/Users/nagarro/Desktop/Melody_app/home-owner-app.appâ
[debug] [XCUITest] Checking whether app is actually present
[debug] [ios-app-utils] Getting bundle ID from app
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: â/usr/local/bin/idevicesyslogâ
[XCUITest] Setting up real device
[debug] [XCUITest] Stdout from app isInstalled check: [âŚ] Waiting for iOS device to be connected
[âŚ] Using iPhone 6s âiPhone 6sâ (cfc28f7a68b714e7f0e188bbb802e5316b7643cb).
true
[debug] [XCUITest] App is installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=cfc28f7a68b714e7f0e188bbb802e5316b7643cbâ in directory â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgentâ
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/318A84BD-02C5-498E-805F-F9EAB25EFADF/Session-WebDriverAgentRunner-2016-10-28_085527-JH4uT8.log
[Xcode] 2016-10-28 08:55:32.583 xcodebuild[26587:405987] Error Domain=IDETestOperationsObserverErrorDomain Code=3 âTest operation was canceled. If you believe this error represents a bug, please attach the log file at /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/318A84BD-02C5-498E-805F-F9EAB25EFADF/Session-WebDriverAgentRunner-2016-10-28_085527-JH4uT8.logâ UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/318A84BD-02C5-498E-805F-F9EAB25EFADF/Session-WebDriverAgentRunner-2016-10-28_085527-JH4uT8.log}
[Xcode] No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
[Xcode] Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
[Xcode] No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
[Xcode] Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
[Xcode]
Testing failed:
[Xcode] No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code â65â and signal ânullâ
[debug] [XCUITest] xcodebuild failure warrants retry. RetryingâŚ
[XCUITest] Shutting down WebDriverAgent
[XCUITest] System log exited with code ânullâ
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=cfc28f7a68b714e7f0e188bbb802e5316b7643cbâ in directory â/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgentâ
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/4342F2A0-7795-4EA1-B0B5-D869B55F0DE2/Session-WebDriverAgentRunner-2016-10-28_085539-4VouJP.log
[Xcode] 2016-10-28 08:55:44.619 xcodebuild[26827:406402] Error Domain=IDETestOperationsObserverErrorDomain Code=3 âTest operation was canceled. If you believe this error represents a bug, please attach the log file at /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/4342F2A0-7795-4EA1-B0B5-D869B55F0DE2/Session-WebDriverAgentRunner-2016-10-28_085539-4VouJP.logâ UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /var/root/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/4342F2A0-7795-4EA1-B0B5-D869B55F0DE2/Session-WebDriverAgentRunner-2016-10-28_085539-4VouJP.log}
[Xcode] No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
[Xcode] Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
[Xcode] Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
[Xcode]
Testing failed:
[Xcode] No profile matching âMelodyTeamExamplesâ found: Xcode couldnât find a profile matching âMelodyTeamExamplesâ. Install the profile (by dragging and dropping it onto Xcodeâs dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type âUI Testing Bundleâ in SDK âiOS 10.0â
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code â65â and signal ânullâ
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess. (lib/webdriveragent.js:294:25)
at emitTwo (events.js:87:13)
at SubProcess.emit (events.js:172:7)
at ChildProcess. (lib/teen_process.js:191:14)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
[Error: xcodebuild failed with code 65]
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
at SubProcess. (lib/webdriveragent.js:294:25)
at emitTwo (events.js:87:13)
at SubProcess.emit (events.js:172:7)
at ChildProcess. (lib/teen_process.js:191:14)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
[HTTP] <-- POST /wd/hub/session 500 25119 ms - 167