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

Research if we can distribute the prebuilt .ipa/.app #278

Closed
bartekpacia opened this issue Sep 13, 2022 · 4 comments
Closed

Research if we can distribute the prebuilt .ipa/.app #278

bartekpacia opened this issue Sep 13, 2022 · 4 comments
Assignees
Labels
package: patrol_cli Related to the patrol_cli package platform: ios iOS is affected tech debt Something needs a refactor

Comments

@bartekpacia
Copy link
Contributor

Currently, we're building the iOS AutomatorServer (AutomatorServer/ios) at every patrol drive, which adds some overhead (usually a few up to 10-20 seconds). In the ideal case, we should get rid of this and just download prebuilt .ipa or .app (I always forget which one is for what).

To keep in mind:

  • simulator binaries need to be distributed as x86_64 and arm64e
  • physical iOS devices require the binary to be signed
@bartekpacia bartekpacia added package: patrol_cli Related to the patrol_cli package platform: ios iOS is affected tech debt Something needs a refactor labels Sep 13, 2022
@bartekpacia
Copy link
Contributor Author

bartekpacia commented Sep 27, 2022

Current problem: GitHub Actions don't support running macOS VMs on Apple Silicon, so we can only build x86_64 artifact for a simulator, which when run on a simulator on Apple Silicon mac, only shows black screen and/or crashes (just random, unpredictable behavior).

Maybe I can work around it by making Xcode generate a fat binary.

@bartekpacia
Copy link
Contributor Author

Idea
We could just distribute unsigned .app, and then tell our users to codesign it manually. If we give good instructions, it should be a quite painless process.

Maybe with a tool like codesign?

@bartekpacia
Copy link
Contributor Author

Appium apparently doesn't codesign their binaries:

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
package: patrol_cli Related to the patrol_cli package platform: ios iOS is affected tech debt Something needs a refactor
Projects
None yet
Development

No branches or pull requests

1 participant