question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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}

See original GitHub issue

The problem

I have installed the following dependecies:

brew install ideviceinstaller
brew install Carthage
npm install -g ios-deploy
npm install -g deviceconsole
gem install xcpretty
brew install libimobiledevice —HEAD
brew install libimobiledevice

mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d

I then opened the WebDriverAgent in XCode and am able to build WebDriverAgentLib and WebDriverAgentRunner successfully but when I install it with the below command:
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=2288f18b7713a79ee3c86xxxxxxxxxxxx' test
it is failing with the following error message:

2017-03-29 12:18:24.944 xcodebuild[30468:1719080] 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}

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


And this has installed WebDriverAgentRunner in the phone. I then run one sample appium code, but it also got failed with the same error.
My aim is to perform Mobile Web Automation in iOS Safari browser.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.4 (beta)
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: Mac OSx 10.12.3
  • Node.js version (unless using Appium.app|exe):
  • Mobile platform/version under test: 10.2
  • Real device or emulator/simulator: Real Device
  • Appium CLI or Appium.app|exe: Appium CLI

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Please find the WebDriverAgentRunner Installation logs and Appium logs HERE https://gist.github.com/Ibnfarooqvlm/31a34e4e806b474ce9f2d46295db10f0

##Capabilities:

capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone");
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "10.2");
capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, MobileBrowserType.SAFARI);
capabilities.setCapability(MobileCapabilityType.APPIUM_VERSION, "1.6.3");
capabilities.setCapability(MobileCapabilityType.UDID, MyUDID);
capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "XCUITest");
capabilities.setCapability("startIWDP", true);
driver = new IOSDriver(new URL("http://0.0.0.0:4723/wd/hub"),
				capabilities);

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
KovtunOlegcommented, Oct 11, 2017

In our case the problem was that there wasn’t enough space left on the disk.

0reactions
lock[bot]commented, Apr 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test target x encountered an error (Early unexpected exit ...
Test target x encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted) #6968.
Read more >
Test target X encountered an error (Early unexpected exit ...
Test target X encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted ; Mar 31, 2016...
Read more >
Peter Steinberger on Twitter: "It's the typical Error Domain ...
It's the typical Error Domain=IDETestOperationsObserverErrorDomain Code=6 “Early unexpected exit, operation never finished bootstrapping - no restart will ...
Read more >
Test target _testTarget_ encountered an error (Early ...
Automatic retry reason found in log: Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
Read more >
How does one unit test a framework… - Apple Developer
Test target <Target> encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found