GithubHelp home page GithubHelp logo

Comments (8)

rikyzan avatar rikyzan commented on August 12, 2024 1

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 [..] and bootstrap 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.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

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.

rikyzan avatar rikyzan commented on August 12, 2024

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.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

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.

rikyzan avatar rikyzan commented on August 12, 2024

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.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

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

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.

mykola-mokhnach avatar mykola-mokhnach commented on August 12, 2024

Could be a duplicate of appium/appium#13927

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.