UI Test is not working on real device

Hello,


Getting the below shown error while running UI Test on real device. The certificate which I'm using for testing is still valid and working fine for other "Targets" otherthan UI Test. I'm able to record UI Test on real device and this issue is only when running the UI Test.


-------

Failure attempting to launch <XCUIApplicationImpl: 0x283c454d0 com.newcom.uitestapp at /Users/guest/Library/Developer/Xcode/DerivedData/ToDo-cvhqagecplslkgciycoblbfnbmpb/Build/Products/Debug-iphoneos/ToDo.app>: Error Domain=com.apple.dtdevicekit Code=-402620392 "Unable to install "uitestapp"" UserInfo={NSLocalizedDescription=Unable to install "uitestapp", NSLocalizedRecoverySuggestion=The certificate used to sign "uitestapp" has either expired or has been revoked. An updated certificate is required to sign and install the application.}

(null)

------


Please share your valuable thoughts and experience...


Thanks in advance!!

Post not yet marked as solved Up vote post of Manesh Down vote post of Manesh
1.7k views

Replies

Make sure you have the 'Enable UI Automation' option enabled under the 'Developer' app in Settings. hope that solves your problem.