Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot patrol drive on devices with iOS older than 15.5 #381

Closed
borjandev opened this issue Sep 28, 2022 · 3 comments
Closed

Cannot patrol drive on devices with iOS older than 15.5 #381

borjandev opened this issue Sep 28, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@borjandev
Copy link

When trying to run it on iOS 12.6.5 it produced an error message like the one below:

The run destination is not valid for Testing the scheme 'AutomatorServer'.
iOS 12.5.6 doesn’t match AutomatorServer.app’s iOS 15.5 deployment target. Upgrade the iOS version or lower AutomatorServer.app’s deployment target.

The maximum iOS version that this iPhone (5s) can install is 12.6.5 so updating is not an option

The flutter app that I am trying to test, runs properly on it

@bartekpacia
Copy link
Contributor

bartekpacia commented Sep 28, 2022

Hi @borjandev.

Yeah, the minimum iOS deployment target is way too low. We'll relax it soon.

As a workaround, you can run:

$ patrol --version
patrol_cli v0.6.8

and then:

$ open ~/.cache/patrol/ios-0.6.8/AutomatorServer.xcodeproj

and use Xcode to manually lower the minimum iOS deployment target. I'm not sure if something as old as 12.6.5 will work properly, but you can always try :)

PS We're not happy with the current way of running tests on iOS. Currently, we build the Xcode project every time you patrol drive and it's both slower and more fragile than distributing pre-built .apps. This is worked on in #278 :)

@bartekpacia bartekpacia added bug Something isn't working automator: ios labels Oct 4, 2022
@bartekpacia bartekpacia changed the title Patrol drive on older iPhones Cannot patrol drive on iOS older than 15.5 Oct 7, 2022
@bartekpacia bartekpacia changed the title Cannot patrol drive on iOS older than 15.5 Cannot patrol drive on devices with iOS older than 15.5 Oct 10, 2022
@bartekpacia
Copy link
Contributor

Patrol (the new patrol test command) works on iOS 13+.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants