Comments (8)
Hi @KazuCocoa,
Today WebDriverAgent worked!! I used a paid account (in last days I used a personal one)
I made these steps:
- pic a new webdriveragent project
- run
mkdir [..]
andbootstrap
as shown in doc (http://appium.io/docs/en/drivers/ios-xcuitest-real-devices) - from Xcode, enable "Automatically manage signing" and update bundle ids of IntegrationApp and WebDriverAgentRunner
- then
xcodebuild [..]
command from shell
first time, with a paid account, I had success. Then, I made exactly the same steps with a personal (using a new project and new bundle ids) but I encountered the same error like in the first post, code signature invalid
.
My env is
Xcode 11.3.1
Mac OS Catalina 10.15.4
iOS 13.3.1
Appium 1.15.1
Do you know if is possible using a personal account actually? In a previous version of env (Xcode 10.1 and iOS 12.4) I did.
Thank you very much for supporting me :) !
from webdriveragent.
How did you configure with manual or automatic?
I wondered how did you configure your provisioning profile.
Btw, how about xcodeOrgId
, xcodeSigningId
and updatedWDABundleId
via Appium?
from webdriveragent.
Thank you for reply @KazuCocoa
I used the "Automatically manage signing option" of Xcode, with two different setting
- IntegrationApp and WebDriverAgentRunner with new unique bundle ids (xxx.yyy.IntegrationApp and xxx.yyy.WebDriverAgentRunner)
- IntegrationApp (xxx.yyy.IntegrationApp), WebDriverAgentRunner (xxx.yyy.WebDriverAgentRunner) and WebDriverAgentLib (original bundle id)
same errors occurs
without xcodebuild
command success i'm unable to install WebDriverAgentRunner and appium always fails
There's something like option or flag that is missing or wrong in my xcode setting?
from webdriveragent.
afaik, .xctrunner
bundle id for test may be related to. I've appended the last line in the below troubleshooting (it is not reflected to appium.io)
https://github.com/appium/appium/blob/master/docs/en/drivers/ios-xcuitest-real-devices.md#troubleshooting-ideas
Xcode seems to handle it well, but we probably tweak it without Xcode (like vanilla xcodebuild)
from webdriveragent.
unfortunately Xcode seems to work well, because it generates something like xxx.WebDriverAgentRunner.xctrunner
. if i append .xctrunner
in bundle id, in log i could see the generated bundle is xxx.WebDriverAgentRunner.xctrunner.xctrunner
.
could i use other workarounds for installing WDA? thanks @KazuCocoa
from webdriveragent.
I mean creating a profile for a bundle id with .xctrunner
.
If you could not use wildcard one, potentially the .xctrunner
may help to create a proper provisioning profile.
I always do below either way to run appium against a real device.
- xcodeOrgId, xcodeSigningId and updatedWDABundleId as Appium's capabilities
or
- Open WebDriverAgent.xcodeproj and configure automatic provisioning profile, then launch Appium ( as http://appium.io/docs/en/drivers/ios-xcuitest-real-devices/ )
I faced a couple of errors with a personal account (in a year), but no errors with a paid account.
A personal account may also have an issue to handle well in xcodebuild.
(In the case, Xcode also had an issue in my case)
from webdriveragent.
Could be a duplicate of appium/appium#13927
from webdriveragent.
I don't have an exact answer for the personal account question, unfortunately.
Some persons said when they re-create a new account, it succeeded. Only Apple knows the root cause...
from webdriveragent.
Related Issues (20)
- WDA crash when call screenshot API HOT 3
- build failure in new update 14.4 HOT 1
- window/size sometimes returns an incorrect size HOT 7
- Testing failed: No visible @interface for 'XCUIDevice' declares the selector 'pressButton:' Use of undeclared identifier 'XCUIDeviceButtonHome' Testing cancelled because the build failed. HOT 14
- 运行WebDriverAgent后出现的Automation Running hold both volume buttons to stop 提示蒙层能否去掉 HOT 2
- XCUIElementTypeAlert cannot be found HOT 1
- Expect outside of acceptAlertButtonSelector button will not automatically be click
- After installing the latest WebDriverAgent (WDA) on an iOS 17.4.1 system, the device can be tested using Xcode successfully. However, once the device is unplugged and I attempt to open WDA manually, it crashes. Has anyone experienced this problem? Assistance would be appreciated. HOT 4
- I want to keep the current screen brightness after starting wda. Is this possible? Currently, wda does not run after opening it, and the screen will automatically dim after a while. HOT 5
- IOS 17 real device, can't launch wda HOT 8
- The cloud real machine function flashes down
- Can I support devices with ios 9.0? HOT 1
- What is the minimum version of iOS system supported by MJPEG-Server HOT 3
- Build WDA Error ld: cannot link directly with 'XCTAutomationSupport' because product being built is not an allowed client of it clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Using WDA without Xcode, WDA is crash. HOT 3
- App crashes when WDA interacts (e.g. clicks) with UI developed using Flutter v3.22
- Unable to Upload WebDriverAgentRunner (not the Integration App) to TestFlight HOT 2
- pointerUp doesn't work in iOS devices HOT 7
- webAgentRunner test running error? brower input http://192.168.199.143:8100 无法访问此网站 HOT 1
- [Feat] keep webdriverAgent active in Background, for clipboard ability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdriveragent.