-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Showing All Messages 👎 An empty identity is not valid when signing a binary for the product type 'UI Testing Bundle'. (in target 'WebDriverAgentRunner') #1107
Comments
I face the same issue: `WebDriverAgent yn-sleepscore$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=942a1abd5ba42da79f9f0277d303f7b04403dd66' test 2019-05-11 20:25:24.621 xcodebuild[4865:1435287] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14490.122/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:1050 Testing failed: Test session results and logs: ** TEST FAILED **` |
Hey, I had the same issue, solved it like this.
That's. Hope that helps! |
@yananester I have faced the same issue and resolved it by following Appium tutorial Full manual configuration, but you might find it's too long and too technical to read, and hint from @mgrybyk , but his device looks different
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent you can observe in the folder of step 1, the folder "Resouce" is now created
Now go to Build Settings tab and find the "Product Bundle Identifier", replace the default one with any string |
Got this same issue running Appium 1.13 on iOS 12.3. None of the solutions posted above worked. Can anyone from the Appium team look into this? |
what about using the latest |
@LiebeKrake I confirm that this issue has resolved in 1.14@beta1 version, when WebDriverAgentRunner's code signing changed from |
I had installed appium-xcuitest-driver, performed the following steps
`
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/ mkdir -p Resources/WebDriverAgent.bundle ./Scripts/bootstrap.sh
But I got errors as bellow:
`TestCenter-WuHandeMac-mini:WebDriverAgent testcenter_wuhan$ ./Scripts/bootstrap.sh
Fetching dependencies
Building Inspector
Creating bundle directory...
Fetching Inspector dependencies...
npm WARN [email protected] requires a peer of react@^15.6.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
audited 2594 packages in 5.156s
found 16 vulnerabilities (6 low, 4 moderate, 5 high, 1 critical)
run
npm audit fix
to fix them, ornpm audit
for detailsValidating Inspector
Cannot find module 'eslint-config-appium'
Referenced from: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/.eslintrc
Error: Cannot find module 'eslint-config-appium'
Referenced from: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/.eslintrc
at ModuleResolver.resolve (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/util/module-resolver.js:74:19)
at resolve (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:515:25)
at load (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:532:26)
at configExtends.reduceRight (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:424:36)
at Array.reduceRight ()
at applyExtends (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:408:28)
at Object.load (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:566:22)
at loadConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:63:33)
at getLocalConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:130:29)
at Config.getConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:260:26)
`
someone said it didnot matter(If not, please point out),
https://github.com/facebook/WebDriverAgent/issues/558
This is definitely Appium issue. We do not use eslint-config-appium
So I turned to compile directly:
When I try to compile(provisioning profile has been set, bundle idetifier has been changed), I get “Build Failure”. The error details are “Showing All Messages 👎 An empty identity is not valid when signing a binary for the product type 'UI Testing Bundle'. (in target 'WebDriverAgentRunner')”
Environment:
macOS:10.14.4
appium:1.9.1
nodeJS:10.15.2
npm:6.4.1
Pls help me.
The text was updated successfully, but these errors were encountered: