leancodepl / patrol

Flutter-first UI testing framework. Ready for action!
https://patrol.leancode.co
Apache License 2.0
881 stars 133 forks source link

Write good docs for running Patrol on a physical device #1871

Open bartekpacia opened 11 months ago

bartekpacia commented 11 months ago

Today @piotruela and I struggled with it and were not able to run tests on his physical iPhone. The problem is code-signing related.

Testing failed:
        Nie można zainstalować „RunnerUITests-Runner"
        RunnerUITests-Runner encountered an error (Failed to install or launch the test runner. (Underlying Error: Nie można zainstalować „RunnerUITests-Runner". Failed to install embedded profile for pl.leancode.patrol.Example.RunnerUITests.xctrunner : 0xe8008012 (This provisioning profile cannot be installed on this device.)
    Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it. (Underlying Error: Failed to install the app on the device. (Underlying Error: Nie można zainstalować „RunnerUITests-Runner". Nie można zainstalować tej aplikacji, ponieważ nie można zweryfikować jej integralności. Failed to install embedded profile for pl.leancode.patrol.Example.RunnerUITests.xctrunner : 0xe8008012 (This provisioning profile cannot be installed on this device.). (Underlying Error: Failed to install embedded profile for pl.leancode.patrol.Example.RunnerUITests.xctrunner : 0xe8008012 (This provisioning profile cannot be installed on this device.))))))

    ** TEST EXECUTE FAILED **

We tried:

bundle exec fastlane match

and it (fastlane match) succeeded, but didn't resolve the problem.

fylyppo commented 11 months ago

Have you tried to register this device? https://developer.apple.com/help/account/register-devices/register-a-single-device/

piotruela commented 11 months ago

Yes, that was first thing I tried. The error stayed the same

DejwidD commented 9 months ago

Hi, any updates on this issue? I have the same problem.

Great work on Patrol. Android works perfect, especially with Firebase TestLab.

piotruela commented 5 months ago

Hi @DejwidD. No updates for now, sorry. But we should prioritize writing down this docs

bkeelon commented 5 months ago

I'll be curious on this. We're having the same issue for iOS with Firebase TestLab but like @DejwidD said, Android works just fine.