Skip to content

Step is not working with build-for-testing output #6

@fepersembe

Description

@fepersembe

I am trying to run UI TEsts on Browserstack through Bitrise and getting failure when I did the required steps.

In the documentation of BrowserStack it says that $BITRISE_TEST_BUNDLE_PATH should be used.

When I do that I am getting the following error:

2022/09/09 06:27:49 xcuitest_testsuite_path: couldn’t find the <AppnameUITests>-Runner.app . Please add the $BITRISE_TEST_BUNDLE_PATH from Xcode Build for testing for iOS step or the absolute path of <AppnameUITests>-Runner.app

I have tried to give path of .app file specifically and got ZIP_ERROR with exit code 12 for that.

This is the output of Xcode- Build-for-testing STEP

The xcodebuild command log file path is available in BITRISE_XCODE_RAW_RESULT_TEXT_PATH env: /Users/[REDACTED]/deploy/raw-xcodebuild-output.log
The test bundle directory is available in BITRISE_TEST_BUNDLE_PATH env: /var/folders/wf/8v049ft10mx2wzww1j4v8j700000gn/T/test_bundle1461532094
The zipped test bundle is available in BITRISE_TEST_BUNDLE_ZIP_PATH env: /Users/[REDACTED]/deploy/testbundle.zip
The built xctestrun file is available in BITRISE_XCTESTRUN_FILE_PATH env: /var/folders/wf/8v049ft10mx2wzww1j4v8j700000gn/T/test_bundle1461532094/Test-Dev_Run-CoreMobile-Regression_iphoneos15.4-arm64.xctestrun

Do you have any suggestion to resolve this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions