Comments (6)
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.
Yes it's Xcode 15. And yes, I start with "appium:usePreinstalledWDA": true
from webdriveragent.
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.
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
}
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.
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.
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)
- FR: Can we use `XCUIDevice.shared.system.open(url)` to open deep links to skip Safari? HOT 3
- Can't manually run WebDriverAgentRunner HOT 6
- 'No visible @interface for 'XCUIDevice' declares the selector 'pressButton:'' WDA build error for iOS 17.2 real device HOT 1
- I have no issues running WDA directly through Xcode on a real device. Whether started by clicking or through Sib, it works fine. However, after packaging WDA into an IPA file, installing it via Sib, and then launching WDA, it crashes. It doesn't happen every time, but the occurrence probability is quite high. HOT 2
- "Failed to find Matching Arch for input file" HOT 1
- Enterprise certificate packaging error HOT 1
- Can't chose simulator's XctestrunFile created by arm64 PC HOT 1
- Identifier '_XCTSetApplicationStateTimeout' is reserved because it starts with '_' followed by a capital letter HOT 11
- Mixing declarations and code is incompatible with standards before C99 HOT 1
- Iphone14,ios17.3,v5.15.8 Touch WebDriverAgent icon then crash。 HOT 3
- WebDriverAgentRunner HOT 2
- 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
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.