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.

xcode 11 changes the bundle id of WDA

See original GitHub issue

The problem

XCode 11 changed the format for building xcuitest runner bundle ids. WDA no longer has the bundle id as com.apple.test.WebDriverAgentRunner-Runner but as com.facebook.WebDriverAgentRunner.xctrunner

Details

This causes issues in terms of uninstallation of WDA and we should take a look at it

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

16reactions
JabberYQcommented, Nov 28, 2019

I also had this problem in monkey test. I found it normal on Xcode11.1 and Xcode11.2 will auto add subffix ‘xctrunner’ to my bundle id. now I find a way to solve it. go to runner target - build settings-product bundle id and clear it. and then set your bundle id in plist.info - Bundle identifier.

must clear build settings-product bundle id!!

9reactions
crifancommented, Feb 20, 2020

as @JabberYQ said, and more details here:

Use Xcode open WebDriverAgent.xcodeproj, then do changes:

  1. WebDriverAgentRunner/Info.plist->Bundle Identifier
  • change to com.xxx.wda.runner
    • 42D4CC39-7D8D-4DBE-9124-6F0114943740
  1. WebDriverAgent -> Targets ->WebDriverAgentRunner -> Info -> Bundle Identifier
  • change to com.xxx.wda.runner
    • EC1405A0-39B1-422B-88B1-519CB3005016
  1. WebDriverAgent -> Targets -> WebDriverAgentRunner -> Build Settings -> Packing -> Product Bundle Identifier
  • keep empty = clear it
    • BD1D2073-DC77-4E68-B75A-61337A170597
  1. =>> WebDriverAgent -> Targets -> WebDriverAgentRunner -> Signing & Capability
  • Team: xxx (Personal Team) or your team
  • Bundle Identifier: com.xxx.wda.runner
    • will auto change to, no edit by yourself
  • Signing Certificate: Development
    • will auto code signing + create provisioning file + …
    • Makesure NO red erros
  • 113D4E4F-C889-4698-84E7-61E4ED15A4D9

all done !

Note: change xxx to your organization name.

More details refer my (Chinese) post: 【已解决】xcodebuild编译wda报错:Signing for WebDriverAgentRunner requires a development team

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can you change the bundle id of an… - Apple Developer
The answer is no. In "App Store Connect", click into one of your submitted app, under "General" - "App Information", on the page ......
Read more >
ios - Use Bundle Identifier instead of Product ... - Stack Overflow
The new build setting Product Bundle Identifier (PRODUCT_BUNDLE_IDENTIFIER) is the recommended place to set the Bundle Identifier for a target.
Read more >
appium-xcuitest-driver - npm
appium:updatedWDABundleId, Bundle id to update WDA to before building and launching on real devices. This bundle id must be associated with a valid ......
Read more >
The iOS Gateway Interface - Eggplant | Documentation
The dot to the left of the device or simulator name changes color to ... and are using Xcode 11 or later, you...
Read more >
I Cant fix this - Support - Appium Discuss
Change your bundle identifier to a unique string to try again. No profiles for 'com.androidiostesting1.WebDriverAgentRunner' were found: Xcode couldn't find any ...
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