Cannot Run Appium 1.6.0-beta3 with ios10 and xcode8

Hi
I’ve followed the below real device document for using appium-xcuitest-driver on IOS 10 and Xcode8

My problems are like this:

  1. When I build the webdriveragent project with the following command, it start running webdriveragent on real device

xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=my_device_udid' test

but When I start running appium tests , webdriver agent console automaticly gives error (BUILD INTERRUPTED)

  1. If I run WebDriverAgent with using xcode by cmd+u to WebDriverAgentRunner project , it runs on device and never gives an error

But in both cases, when I run appium It gives this error:

[Xcode] 
Testing failed:
	Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.

[Xcode] 	Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
** TEST FAILED **

But I already selected development team for both WebDriverAgentLib and WebDriverAgentRunner projects.

We are working on a serious project and since ios 10 we cannot continue to our project. Can you point me to right direction?

Finally managed to fix that problem but now appium crashes with the following error.

[Xcode] 2016-10-10 20:53:14.407 xcodebuild[18966:150367] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

[Xcode] 
Testing failed:
	Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)

[Xcode] ** TEST FAILED **
Unable to start WebDriverAgent: Error: spawn EACCES

Hey

Did you find any solution to your problem? I’m having the same issue.

Thanks

I have this issue too –
Testing failed: Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted) ** TEST FAILED **

did you fix it?

Have you trusted certificate on device, have you signed WDA properly ?

I’ve ran:

xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' test

but is running for a while and nothing happens, any idea why or if it’s the expected behaviour?

Test Suite ‘All tests’ started at 2016-12-14 16:55:44.019
Test Suite ‘WebDriverAgentLib.framework’ started at 2016-12-14 16:55:44.020
Test Suite ‘WebDriverAgentLib.framework’ passed at 2016-12-14 16:55:44.020.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds
Test Suite ‘WebDriverAgentRunner.xctest’ started at 2016-12-14 16:55:44.022
Test Suite ‘UITestingUITests’ started at 2016-12-14 16:55:44.023
Test Case ‘-[UITestingUITests testRunner]’ started.
t = 0.00s Start Test at 2016-12-14 16:55:44.024
t = 0.00s Set Up
2016-12-14 16:55:44.027 XCTRunner[50904:10362116] Built at Dec 12 2016 18:11:33
2016-12-14 16:55:44.037 XCTRunner[50904:10362116] ServerURLHere->http://192.168.1.194:8100<-ServerURLHere

I’ve tried to open the driver app but all I got is a black screen / immediate exit.

I am facing same issue: Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **

Please help, stuck too long on this issue

Got the same issue, a black screen then immediate exit,

  1. Use a development profile and certificate to sign WebDriverAgent
  2. Create Configurations folder inside WebDriverAgent folder and add ProjectSettings.xcconfig file with following details:
    DEVELOPMENT_TEAM =
    CODE_SIGN_IDENTITY = iPhone Developer
  3. brew uninstall ideviceinstaller
  4. brew uninstall libimobiledevice
  5. brew install --HEAD libimobiledevice
  6. brew install ideviceinstaller

Try these steps