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.

Appium 1.13.0 not working with real device (iOS 12.2 )

See original GitHub issue

The problem

With Appium 1.13. i can’t launch the WebDriverAgent launched on a real iPad Mini 4 with iOS 12.2. Doesn’t matter if Safari-Browser or App.

XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] xcodebuild error message:
[XCUITest] 
[XCUITest] 2019-05-15 10:46:15.286 xcodebuild[13361:314635] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/Admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f83d111f5e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[XCUITest] 2019-05-15 10:46:15.286 xcodebuild[13361:314635] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/Admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f83d1676030 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[XCUITest] ** TEST BUILD FAILED **

Environment

  • Appium version (or git revision) that exhibits the issue: 1.13
  • Last Appium version that did not exhibit the issue (if applicable): 1.12.1 Desktop (did not tested cli)
  • Desktop OS/version used to run Appium: macOS 10.14.4
  • Mobile platform/version under test: iOS 12.2
  • Real device or emulator/simulator: real device
  • Appium CLI or Appium.app|exe: both

Details

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

[Appium] Capabilities:
[Appium]   platformName: iOS
[Appium]   platformVersion: 12.2
[Appium]   platform: Mac
[Appium]   deviceName: ISA*
[Appium]   browserName: Safari
[Appium]   udid: auto
[Appium]   automationName: XCUITest
[Appium]   xcodeOrgId: DELETEBYME
[Appium]   xcodeSigningId: iPhone Developer
[Appium]   updatedWDABundleId: pd.appium.PDWebDriverAgentRunner
[Appium]   startIWDP: false
[Appium]   useNewWDA: true
[Appium]   newCommandTimeout: 120000

Link to Appium logs

appium log

My guess

[XCUITest] provisioningProfiles: (null) Maybe the profile is dropped for what ever reason?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SebastianSolidworkcommented, Jul 9, 2019

@KazuCocoa @zcmgyu 1.14 works out of the box. I didn’t had to reapply the full manual configuration. Thanks for that fix!

0reactions
zcmgyucommented, Jun 28, 2019

@SebastianSolidwork I think that error because of no provisioning profile. And it’s already fixed in this PR

https://github.com/appium/appium-xcuitest-driver/pull/961

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading appium and iOS 12+13 not supported
I'm upgrading appium from 1.7.1 to 1.16.0. I understand that iOS 9.3 and earlier are not supported, so I tried 13.0 and 12.2...
Read more >
appium/appium - Gitter
Hi, is there any one who is using xamarin test cloud'or app center,I need help.Please ping me .When I am running my test...
Read more >
Appium 1.13.0 - Kobiton
Support webview testing for real devices running iOS 12.2+ (1.12. · Supports tvOS #151. · See the documentation for details. · Be sure...
Read more >
Unanswered 'appium-ios' Questions - Page 2 - Stack Overflow
I'm working with Appium IOS and I've encountered with a problem I want to detect when IOS ... I am trying run automation...
Read more >
appium | Yarn - Package Manager
We support simulators (iOS), emulators (Android), and real devices (iOS, Android, Windows, Mac).
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