GithubHelp home page GithubHelp logo

Comments (6)

KazuCocoa avatar KazuCocoa commented on August 12, 2024

How did you start the instance? At least https://appium.github.io/appium-xcuitest-driver/5.11/run-preinstalled-wda/ should not work for iOS 17.

Note This method does not work for iOS 17/tvOS 17 environment for now due to platform changes. Please use the xcodebuild method.

Possibly this is Xcode 15 env..?

from webdriveragent.

El-hombre-del-fuego avatar El-hombre-del-fuego commented on August 12, 2024

Yes it's Xcode 15. And yes, I start with "appium:usePreinstalledWDA": true

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

Perhaps duplicate of appium/appium#19206 (so closing this itself)

My local did not have the issue when I ran a session with iOS 16 and Xcode 15 in the github issue, but some Xcode 15 environments might have communication issues for non-iOS 17.

from webdriveragent.

El-hombre-del-fuego avatar El-hombre-del-fuego commented on August 12, 2024

I build with Xcode 15 IntegrationApp, WebDriverAgentLib and WebDriverAgentRunner on my real iPhone 12 (iOS 17). Without errors > all good.

Then I start appium server local and run with appium inspector:
{
"appium:deviceName": "iPhone von Andreas",
"platformName": "iOS",
"appium:platformVersion": "17.0",
"appium:udid": "00008101-XXXXXXXXXXXXXXXXXXX",
"appium:noReset": false,
"appium:updatedWDABundleId": "at.handyparken.WebDriverAgentRunner",
"appium:usePreinstalledWDA": false,
"appium:wdaLaunchTimeout": 120000,
"appium:automationName": "XCUITest",
"appium:showXcodeLog": true
}

appium.log

Then I get this error from appium inspector:
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70 xcodebuild error message: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/andreas/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/andreas/Library/Developer/Xcode/DerivedData/WebDriverAgent-hcxcoazuwnrlnxemwnkavjpmhjtl -destination id=00008101-000658503484001E IPHONEOS_DEPLOYMENT_TARGET=17.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO User defaults from command line: IDEDerivedDataPathOverride = /Users/andreas/Library/Developer/Xcode/DerivedData/WebDriverAgent-hcxcoazuwnrlnxemwnkavjpmhjtl IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: COMPILER_INDEX_STORE_ENABLE = NO GCC_TREAT_WARNINGS_AS_ERRORS = 0 IPHONEOS_DEPLOYMENT_TARGET = 17.0 Prepare packages ComputeTargetDependencyGraph note: Building targets in dependency order note: Target dependency graph (2 targets) Target 'WebDriverAgentRunner' in project 'WebDriverAgent' ➜ Explicit dependency on target 'WebDriverAgentLib' in project 'WebDriverAgent' Target 'WebDriverAgentLib' in project

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 12, 2024

What error do you see when you run the xcodebuild like /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/andreas/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/andreas/Library/Developer/Xcode/DerivedData/WebDriverAgent-hcxcoazuwnrlnxemwnkavjpmhjtl -destination id=00008101-000658503484001E IPHONEOS_DEPLOYMENT_TARGET=17.0 GCC_TREAT_WARNINGS_AS_ERRORS=0?

We observed Apple's xcodebuild command did not detect the device properly, while Xcode 15 did. This was not via Appium, xcodebuild command internal thing, so there was nothing we could do.
appium/appium#19381

from webdriveragent.

El-hombre-del-fuego avatar El-hombre-del-fuego commented on August 12, 2024

I get this error:
/Users/andreas/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
2023-12-06 10:16:57.401 xcodebuild[4554:102483] Writing error result bundle to /var/folders/kl/wc99p9jx0gs2ttyht1065p2r0000gp/T/ResultBundle_2023-06-12_10-16-0057.xcresult
xcodebuild: error: Failed writing xctestrun file: The folder “WebDriverAgentRunner_iphoneos17.0-arm64.xctestrun” doesn’t exist..

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.