기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
AWS Device Farm의 XCTest UI 테스트 문제 해결
다음 항목에서는 XCTest UI 테스트를 업로드하는 동안 발생하는 오류 메시지를 나열하고 각 오류를 해결하기 위한 해결 방법을 권장합니다.
참고
다음 지침은 Linux x86_64 및 Mac을 기반으로 합니다.
XCTEST_UI_TEST_PACKAGE_UNZIP_FAILED
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not open your test IPA file. Please verify that the file is valid and try again.
응용 프로그램 패키지의 압축을 오류 없이 풀 수 있는지 확인하십시오. 다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .올바른 iOS 애플리케이션 패키지는 다음과 같은 출력이 생성됩니다.
. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PAYLOAD_DIR_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the Payload directory inside your test package. Please unzip your test package,
verify that the Payload directory is inside the package, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효하면 작업 디렉토리 내에서
Payload디렉토리를 찾을 수 있습니다.. `--Payload(directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_APP_DIR_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the .app directory inside the Payload directory. Please unzip
your test package and then open the Payload directory, verify that the .app directory is
inside the directory, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효하면
Payload디렉터리 내의 예제에서swift-sampleUITests-Runner.app과 같은.app디렉터리를 찾을 수 있습니다.. `-- Payload (directory) `--swift-sampleUITests-Runner.app(directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PLUGINS_DIR_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the Plugins directory inside the .app directory. Please unzip
your test package and then open the .app directory, verify that the Plugins directory is
inside the directory, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우,
.app디렉토리 내에서Plugins디렉토리를 찾을 수 있습니다. 이 예시에서는 이 디렉토리를swift-sampleUITests-Runner.app이라고 합니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |--Plugins(directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_XCTEST_DIR_MISSING_IN_PLUGINS_DIR
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the .xctest directory inside the plugins directory. Please
unzip your test package and then open the plugins directory, verify that the .xctest directory
is inside the directory, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효하면
Plugins디렉터리 안에서.xctest디렉터리를 찾을 수 있습니다. 이 예제에서는 이 디렉토리를swift-sampleUITests.xctest라고 합니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest(directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PLIST_FILE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the Info.plist file inside the .app directory. Please unzip
your test package and then open the .app directory, verify that the Info.plist file is inside
the directory, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우,
.app디렉토리에서Info.plist파일을 찾을 수 있습니다. 아래 예시에서는 이 디렉토리를swift-sampleUITests-Runner.app이라고 합니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PLIST_FILE_MISSING_IN_XCTEST_DIR
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the Info.plist file inside the .xctest directory. Please unzip
your test package and then open the .xctest directory, verify that the Info.plist file is
inside the directory, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우,
.xctest디렉토리에서Info.plist파일을 찾을 수 있습니다. 아래 예시에서는 이 디렉토리를swift-sampleUITests.xctest라고 합니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |--Info.plist| `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_CPU_ARCHITECTURE _VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not the CPU architecture value in the Info.plist file. Please unzip your
test package and then open the Info.plist file inside the .app directory, verify that the key
"UIRequiredDeviceCapabilities" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
CPU 아키텍처 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['UIRequiredDeviceCapabilities']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
['armv7']자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PLATFORM_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the platform value in the Info.plist. Please unzip your test
package and then open the Info.plist file inside the .app directory, verify that the key
"CFBundleSupportedPlatforms" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
플랫폼 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['CFBundleSupportedPlatforms']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
['iPhoneOS']자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_WRONG_PLATFORM_DEVICE_VALUE
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We found the platform device value was wrong in the Info.plist file. Please unzip
your test package and then open the Info.plist file inside the .app directory, verify that the
value of the key "CFBundleSupportedPlatforms" does not contain the keyword "simulator", and
try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
플랫폼 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['CFBundleSupportedPlatforms']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
['iPhoneOS']XCTest UI 패키지가 유효한 경우 값에
simulator키워드가 포함되지 않아야 합니다.자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_FORM_FACTOR_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not the form factor value in the Info.plist. Please unzip your test
package and then open the Info.plist file inside the .app directory, verify that the key
"UIDeviceFamily" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
폼 팩터 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['UIDeviceFamily']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
[1, 2]자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PACKAGE_PACKAGE_NAME_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the package name value in the Info.plist file. Please unzip
your test package and then open the Info.plist file inside the .app directory, verify that the
key "CFBundleIdentifier" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
패키지 이름 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['CFBundleIdentifier']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
com.apple.test.swift-sampleUITests-Runner자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_EXECUTABLE_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the executable value in the Info.plist file. Please unzip your
test package and then open the Info.plist file inside the .app directory, verify that the key
"CFBundleExecutable" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
실행 가능한 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Info.plist') print info_plist['CFBundleExecutable']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
XCTRunner자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_TEST_PACKAGE_TEST_PACKAGE_NAME_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the package name value in the Info.plist file inside the
.xctest directory. Please unzip your test package and then open the Info.plist file inside the
.xctest directory, verify that the key "CFBundleIdentifier" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
패키지 이름 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Plugins/swift-sampleUITests.xctest/Info.plist') print info_plist['CFBundleIdentifier']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
com.amazon.swift-sampleUITests자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 단원을 참조하세요.
XCTEST_UI_TEST_PACKAGE_TEST_EXECUTABLE_VALUE_MISSING
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We could not find the executable value in the Info.plist file inside the .xctest
directory. Please unzip your test package and then open the Info.plist file inside the .xctest
directory, verify that the key "CFBundleExecutable" is specified, and try again.
다음 예제에서 패키지 이름은 swift-sample-UI.ipa입니다.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행하세요.
$ unzip swift-sample-UI.ipa패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .다음 예제의
swift-sampleUITests-Runner.app과 같은.app디렉터리에서Info.plist파일을 찾을 수 있습니다.. `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) |--Info.plist|-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files)-
실행 가능한 값을 찾으려면 Xcode 또는 Python을 사용하여 Info.plist를 열 수 있습니다.
Python의 경우 다음 명령을 실행하여 biplist 모듈을 설치할 수 있습니다.
$ pip install biplist -
Python을 열고 다음 명령을 실행하세요.
import biplist info_plist = biplist.readPlist('Payload/swift-sampleUITests-Runner.app/Plugins/swift-sampleUITests.xctest/Info.plist') print info_plist['CFBundleExecutable']유효한 XCTest UI 패키지는 다음과 같은 출력이 생성됩니다.
swift-sampleUITests자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 섹션을 참조하세요.
XCTEST_UI_TEST_PACKAGE_MULTIPLE_APP_DIRS
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We found multiple .app directories inside your test package. Please unzip your test package, verify that only a single .app directory is present inside the package, then try again.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행합니다.
$ unzip swift-sample-UI.zip패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우 .zip 테스트 패키지 내에서 예제의
swift-sampleUITests-Runner.app과 같은 단일.app디렉터리만 찾아야 합니다.. `--swift-sample-UI.zip--(directory) `--swift-sampleUITests-Runner.app(directory) |-- Info.plist |-- Plugins (directory) | `swift-sampleUITests.xctest (directory) | |-- Info.plist | `-- (any other files) `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 섹션을 참조하세요.
XCTEST_UI_TEST_PACKAGE_MULTIPLE_IPA_DIRS
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We found multiple .ipa directories inside your test package. Please unzip your test package, verify that only a single .ipa directory is present inside the package, then try again.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행합니다.
$ unzip swift-sample-UI.zip패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우 .zip 테스트 패키지 내에서 예제의 단일
.ipa디렉터리(예:sampleUITests.ipa)만 찾아야 합니다.. `--swift-sample-UI.zip--(directory) `--sampleUITests.ipa(directory) `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 섹션을 참조하세요.
XCTEST_UI_TEST_PACKAGE_BOTH_APP_AND_IPA_DIR_PRESENT
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We found both .app and .ipa files inside your test package. Please unzip your test package, verify that only a single .app or .ipa file is present inside the package, then try again.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행합니다.
$ unzip swift-sample-UI.zip패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우 .zip 테스트 패키지 내에서 예제의
.ipa디렉터리(예:swift-sampleUITests-Runner.app) 또는.app디렉터리(예:sampleUITests.ipa)를 찾아야 합니다. iOS용 XCTest UI를 Device Farm과 통합의 설명서에서 유효한 XCTEST_UI 테스트 패키지의 예제를 참조할 수 있습니다.. `--swift-sample-UI.zip--(directory) `--sampleUITests.ipa(directory) `-- Payload (directory) `-- swift-sampleUITests-Runner.app (directory) `-- (any other files)or
. `--swift-sample-UI.zip--(directory) `--swift-sampleUITests-Runner.app(directory) |-- Info.plist |-- Plugins (directory) `-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 섹션을 참조하세요.
XCTEST_UI_TEST_PACKAGE_PAYLOAD_DIR_PRESENT_IN_ZIP
다음 메시지가 표시되면 다음 단계에 따라 문제를 해결하세요.
We found a Payload directory inside your .zip test package. Please unzip your test package, ensure that a Payload directory is not present in the package, then try again.
작업 디렉터리에 테스트 패키지를 복사한 후 다음 명령을 실행합니다.
$ unzip swift-sample-UI.zip패키지 압축을 성공적으로 푼 후에는 다음 명령을 실행하여 작업 디렉터리 트리 구조를 찾을 수 있습니다.
$ tree .XCTest UI 패키지가 유효한 경우 테스트 패키지 내에서 페이로드 디렉터리를 찾을 수 없습니다.
. `--swift-sample-UI.zip--(directory) `-- swift-sampleUITests-Runner.app (directory) |-- Info.plist |-- Plugins (directory) `-- (any other files) `--Payload (directory) [This directory should not be present]|-- (any other files) `-- (any other files)자세한 내용은 iOS용 XCTest UI를 Device Farm과 통합 섹션을 참조하세요.