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

Build iOS artifact for real iPhones #488

Closed
wants to merge 6 commits into from

Conversation

bartekpacia
Copy link
Contributor

@bartekpacia bartekpacia commented Oct 20, 2022

related to #278

  • make_artifacts: turn off codesigning only for iphonesimulator
  • status: make_artifacts works after fastlane match

@bartekpacia
Copy link
Contributor Author

@bartekpacia bartekpacia force-pushed the tweak/ios_artifact_iphoneos branch from 09d2e13 to a3deebc Compare October 21, 2022 10:43
@bartekpacia
Copy link
Contributor Author

I'm blocked because fastlane match needs access to App Store Connect to verify if the profiles and certificates are valid, and I currently don't have an App Store Connect API key to make it possible.

@bartekpacia
Copy link
Contributor Author

bartekpacia commented Nov 8, 2022

It's not possible.

If we want to distribute an iOS app to physical iOS devices (an our automation server is an iOS app), it has to be done through App Store. Otherwise, we might use TestFlight or alternatives (AppCenter, Firebase App Distribution) but then we have to explicitly specify which devices the app can run on, which is a no-go for our case.

Appium has the same problem.

To sum up, the current status of running tests on iOS:

  • on iOS simulators, we can use the prebuilt, unsigned app
  • on iOS devices, the user has to manually build the app from source and sign it in Xcode. We need to update docs to state this.

cc: @mateuszwojtczak

@bartekpacia bartekpacia closed this Nov 8, 2022
@bartekpacia bartekpacia deleted the tweak/ios_artifact_iphoneos branch November 8, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant