Description
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
Activity
KazuCocoa commentedon Aug 18, 2019
ah... the bundle id will be
com.customised.WebDriverAgentRunner.xctrunner
whenupdatedWDABundleId
is provided with Xcode 11.doganmavuzer commentedon Aug 20, 2019
If you create your provision profile as wildcard. You don't have to handle with projects bundleId and nothing effects your build.
umutuzgur commentedon Aug 20, 2019
@doganmavuzer This issue is related to uninstallation of WDA since Appium uninstalls it before the session start with certain capabilities
tiecongli commentedon Nov 6, 2019
A silly question: how may I check if my installed appium version 1.15.09 has this fix?
KazuCocoa commentedon Nov 6, 2019
Not sure the version label, 1.15.09, but Appium's 1.15.0 release has this change.
Then, you can see log messages introduced in this PR like https://github.com/appium/appium-xcuitest-driver/pull/1052/files#diff-dd1c1e9a4d2cba48fc21e5d2c50abcafR174
JabberYQ commentedon 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!!
crifan commentedon Feb 20, 2020
as @JabberYQ said, and more details here:
Use
Xcode
openWebDriverAgent.xcodeproj
, then do changes:WebDriverAgentRunner/Info.plist
->Bundle Identifier
com.xxx.wda.runner
WebDriverAgent -> Targets ->WebDriverAgentRunner -> Info -> Bundle Identifier
com.xxx.wda.runner
WebDriverAgent -> Targets -> WebDriverAgentRunner -> Build Settings -> Packing -> Product Bundle Identifier
WebDriverAgent -> Targets -> WebDriverAgentRunner -> Signing & Capability
xxx (Personal Team)
or your teamcom.xxx.wda.runner
Development
code signing
+create provisioning file
+ ...all done !
Note: change
xxx
to your organization name.More details refer my (Chinese) post: 【已解决】xcodebuild编译wda报错:Signing for WebDriverAgentRunner requires a development team
aarahmanqa commentedon Jul 10, 2020
The above setup was working for me so far. Just updated xcode to 11.5. There, if we did not provide Bundle Identifier its throwing error message:


I am getting this error message:

Any idea on the same?
1 remaining item