-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
When trying to run test on a device, I get this error:
Traceback (most recent call last):
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/_main/../rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/ios_test_runner.py", line 319, in <module>
sys.exit(main(sys.argv))
^^^^^^^^^^^^^^
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/_main/../rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/ios_test_runner.py", line 313, in main
exit_code = args.func(args)
^^^^^^^^^^^^^^^
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/_main/../rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/ios_test_runner.py", line 151, in _Test
session.Prepare(
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/xctest_session.py", line 145, in Prepare
self._xctestrun_obj = xctestrun_factory.GenerateXctestrun()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/xctestrun.py", line 369, in GenerateXctestrun
self._GenerateTestRootForXctest()
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/xctestrun.py", line 652, in _GenerateTestRootForXctest
_CopyAndSignFramework(
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/sandbox/darwin-sandbox/59/execroot/_main/bazel-out/darwin_arm64-fastbuild/bin/main/hello-world-test-default-ios.runfiles/rules_apple++non_module_deps+xctestrunner/xctestrunner/test_runner/xctestrun.py", line 742, in _CopyAndSignFramework
shutil.copytree(src_framework, target_path)
File "/private/var/tmp/_bazel_dodo/d37a55ce2ed2abf9c807bae8c8d24add/execroot/_main/external/rules_python++python+python_3_11_aarch64-apple-darwin/lib/python3.11/shutil.py", line 571, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/XCUIAutomation.framework'
As of Xcode 16.3, XCUIAutomation.framework has been moved from PrivateFrameworks to Frameworks
Metadata
Metadata
Assignees
Labels
No labels