I am going to use appuim to test my ios app, but I got those error message:
[XCUITest] Available devices: 2a4c35e850e824ee0f6537591aa554d7fd8cfb03
[XCUITest] Creating iDevice object with udid ‘2a4c35e850e824ee0f6537591aa554d7fd8cfb03’
[XCUITest] Determining device to run tests on: udid: ‘2a4c35e850e824ee0f6537591aa554d7fd8cfb03’, real device: true
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1613674024944 (13:47:04 GMT-0500 (Eastern Standard Time))
[BaseDriver] Using local app ‘/Users/dannihuang/Documents/HelpsyHealth_Intern/Helpsy 2020-11-18 17-19-07/Apps/Helpsy-86DCFD3F-FE01-4743-99B4-67BC3E53A3FA.ipa’
[BaseDriver] Unzipping ‘/Users/dannihuang/Documents/HelpsyHealth_Intern/Helpsy 2020-11-18 17-19-07/Apps/Helpsy-86DCFD3F-FE01-4743-99B4-67BC3E53A3FA.ipa’
[BaseDriver] Enforcing UTF-8 encoding on the extracted file names for ‘Helpsy-86DCFD3F-FE01-4743-99B4-67BC3E53A3FA.ipa’
[BaseDriver] Extracted 4445 items from ‘/Users/dannihuang/Documents/HelpsyHealth_Intern/Helpsy 2020-11-18 17-19-07/Apps/Helpsy-86DCFD3F-FE01-4743-99B4-67BC3E53A3FA.ipa’ in 6434ms
[BaseDriver] Matched 1 item in the extracted archive. Assuming ‘Payload/Helpsy.app’ is the correct bundle
[BaseDriver] Unzipped local app to ‘/var/folders/yb/5t6hktk57h16lql1f2w3h96r0000gn/T/2021118-49321-16osgb9.affs/Helpsy.app’
[BaseDriver] Event ‘appConfigured’ logged at 1613674031858 (13:47:11 GMT-0500 (Eastern Standard Time))
[XCUITest] Checking whether app ‘/var/folders/yb/5t6hktk57h16lql1f2w3h96r0000gn/T/2021118-49321-16osgb9.affs/Helpsy.app’ is actually present on file system
[XCUITest] App is present
[BaseDriver] Event ‘resetStarted’ logged at 1613674031858 (13:47:11 GMT-0500 (Eastern Standard Time))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event ‘resetComplete’ logged at 1613674031859 (13:47:11 GMT-0500 (Eastern Standard Time))
[WebDriverAgent] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent’
[WebDriverAgent] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj’
[XCUITest] Crash reports root ‘/Users/dannihuang/Library/Logs/CrashReporter/MobileDevice/’ does not exist. Got nothing to gather.
[BaseDriver] Event ‘logCaptureStarted’ logged at 1613674032059 (13:47:12 GMT-0500 (Eastern Standard Time))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: [“iPhoneOS”]
[XCUITest] Reset requested. Removing app with id ‘com.helpsy.Helpsy’ from the device
[XCUITest] Installing ‘/var/folders/yb/5t6hktk57h16lql1f2w3h96r0000gn/T/2021118-49321-16osgb9.affs/Helpsy.app’ on device with UUID ‘2a4c35e850e824ee0f6537591aa554d7fd8cfb03’…
[WebDriverAgent] Parsed BUILD_DIR configuration value: ‘/Users/dannihuang/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products’
[WebDriverAgent] Got derived data root: ‘/Users/dannihuang/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp’
[Support] Traversed 1878 directories and 2566 files in 30533ms
[XCUITest] Pushed the app files successfully after 30663ms
[XCUITest] Error installing app: Unexpected data: {“Error”:“ApplicationVerificationFailed”,“ErrorDetail”:-1,“ErrorDescription”:“Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.hPxUfa/extracted/Helpsy.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)”}
[XCUITest] Falling back to ‘ios-deploy’ usage
[XCUITest] {}
[DevCon Factory] Releasing connections for 2a4c35e850e824ee0f6537591aa554d7fd8cfb03 device on any port number
[DevCon Factory] No cached connections have been found
[XCUITest] Not clearing log files. Use clearSystemFiles
capability to turn on.
[BaseDriver] Event ‘newSessionStarted’ logged at 1613674105478 (13:48:25 GMT-0500 (Eastern Standard Time))
[MJSONWP] Encountered internal error running command: Error: Could not install ‘/var/folders/yb/5t6hktk57h16lql1f2w3h96r0000gn/T/2021118-49321-16osgb9.affs/Helpsy.app’:
[MJSONWP] - Unexpected data: {“Error”:“ApplicationVerificationFailed”,“ErrorDetail”:-1,“ErrorDescription”:“Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.hPxUfa/extracted/Helpsy.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)”}
[MJSONWP] - 2021-02-18 13:48:25.465 ios-deploy[40335:1813118] [ !! ] Error 0xe8008018: The identity used to sign the executable is no longer valid. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
[MJSONWP]
[MJSONWP] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:56:15)
[MJSONWP] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 80583 ms - 785
[HTTP]
[HTTP] --> DELETE /wd/hub/session
[HTTP] {}
[HTTP] No route found. Setting content type to ‘text/plain’
[HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57
[HTTP]
Could anyone help me with this issue, thank you!