Code Monkey home page Code Monkey logo

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. about webdriveragent HOT 4 CLOSED

Jim-JimZ avatar Jim-JimZ commented on August 27, 2024
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.

from webdriveragent.

Comments (4)

KazuCocoa avatar KazuCocoa commented on August 27, 2024

If you meant launching the app via icon, it is because of XC* in the embedded frameworks. https://appium.github.io/appium-xcuitest-driver/latest/guides/run-preinstalled-wda/#additional-requirement-for-ios-17tvos17 would help then.

from webdriveragent.

Jim-JimZ avatar Jim-JimZ commented on August 27, 2024

If you meant launching the app via icon, it is because of XC* in the embedded frameworks. https://appium.github.io/appium-xcuitest-driver/latest/guides/run-preinstalled-wda/#additional-requirement-for-ios-17tvos17 would help then.

I followed the method described in the link above to delete "XC*.framework" from the WebDriverAgentRunner-Runner.app/Frameworks/ directory, but the program still crashes. Is there any other way to solve this? I have attached the crash log.

from webdriveragent.

Jim-JimZ avatar Jim-JimZ commented on August 27, 2024

WebDriverAgentRunner-Runner-2024-05-07-113629.log

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 27, 2024

I haven't seen this behavior. but on the device, it did not have XCTest.framework. Usually a device has /System/Developer/Library/Frameworks/XCTest.framework but it looks like not on the device.

Is the device developer mode enabled? https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/

"termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath/XCTest.framework/XCTest","Referenced from: /Volumes/VOLUME/*/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner","Reason: tried: '/private/var/containers/Bundle/Application/67AA629B-54DF-4FB3-9676-B7DF6020489F/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest' (no such file), '/System/Developer/Library/Frameworks/XCTest.framework/XCTest' (no such file), '/private/preboot/Cryptexes/OS/System/Developer/Library/Frameworks/XCTest.framework/XCTest' (no such file), '/System/Developer/usr/lib/XCTest.framework/XCTest' (no such file), '/private/preboot/Cryptexes/OS/System/Developer/usr/lib/XCTest.framework/XCTest' (no such file), '/Developer/Library/Frameworks/XCTest.framework/XCTest' (no such file), '/private/preboot/Cryptexes/OS/Developer/Library/Frameworks/XCTest.framework/XCTest' (no such file), '/Developer/usr/lib/XCTest.framework/XCTest' (no such file), '/priv"]},

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.