Closed Jim-JimZ closed 3 months ago
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.
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.
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"]},
WebDriverAgentRunner-Runner-2024-04-24-164546.log Crash logs are attached