appium / WebDriverAgent

A WebDriver server for iOS and tvOS
Other
1.23k stars 389 forks source link

Unable to Upload WebDriverAgentRunner (not the Integration App) to TestFlight #923

Open amirer21 opened 4 months ago

amirer21 commented 4 months ago

Issue: Unable to Upload WebDriverAgentRunner to TestFlight

Description:

I want to upload the WebDriverAgentRunner (not the Integration App) to TestFlight for testing on multiple devices. However, I am unable to upload it from Xcode to TestFlight. Has anyone successfully uploaded the WebDriverAgentRunner (not the Integration App) to TestFlight? If anyone knows, can you share how to do it?

Detailed Explanation:

The WebDriverAgent project includes two target apps: WebDriverAgentRunner APP and Integration APP.

Building and Installing on iOS via Xcode: (This is what I checked to see if both apps can be installed separately.)

  1. Connect an iOS device to macOS via USB.
  2. In Xcode, select the build target: Product -> Select app (Integration App or WebDriverAgentRunner App).
  3. Build and install either the Integration App or WebDriverAgentRunner App on the connected iOS device.

Uploading to TestFlight:

  1. In Xcode, select the build target: Product -> Select app (Integration App or WebDriverAgentRunner APP).
  2. For the Integration App:
    • Archive the app and upload it to TestFlight.
    • Download and install the app via TestFlight.

Problem:

If anyone knows the correct Xcode settings to upload WebDriverAgentRunner to TestFlight, please share the details.

Development Environment:

KazuCocoa commented 4 months ago

I thought XCTest project was not able to upload to TestFlight

amirer21 commented 3 months ago

@KazuCocoa

Thank you for your comment. I haven't solved it yet. I'd like to share my situation. I left only the app target to be archived and deleted the rest in the project. In Windows -> Organizer, only the WebDriverAgentRunner app is archived.

And I'm trying to upload it using the Transporter application. The built app was created as an ipa file through Payload. This file can be installed on your mobile phone with a command in the terminal. However, to upload with Transporter, I encountered the following issue: "This Bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app bundle and optional plugins in a Plugins directory."