Closed remarkov closed 1 year ago
This is to support detection of visionOS runtime which is introduced in Xcode 15 beta. It is also sometimes referred as xrOS.
Current version of CLI Tools fails to parse this new runtime with the following exception:
>>> XcodeProject().get_test_destinations() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/builder/.local/lib/python3.8/site-packages/codemagic/cli/cli_app.py", line 428, in wrapper return func(*args, **kwargs) File "/Users/builder/.local/lib/python3.8/site-packages/codemagic/tools/xcode_project.py", line 303, in get_test_destinations simulators = Simulator.list(runtimes, simulator_name, include_unavailable) File "/Users/builder/.local/lib/python3.8/site-packages/codemagic/models/simulator/simulator.py", line 92, in list simulators.sort(key=lambda s: (s.runtime, s.name)) File "/Users/builder/.local/lib/python3.8/site-packages/codemagic/models/simulator/runtime.py", line 77, in __eq__ return self.runtime_name == other.runtime_name and self.runtime_version == other.runtime_version File "/Users/builder/.local/lib/python3.8/site-packages/codemagic/models/simulator/runtime.py", line 66, in runtime_name raise ValueError(f'Invalid runtime {self.raw_name!r}') ValueError: Invalid runtime 'com.apple.CoreSimulator.SimRuntime.xrOS-1-0'
This is to support detection of visionOS runtime which is introduced in Xcode 15 beta. It is also sometimes referred as xrOS.
Current version of CLI Tools fails to parse this new runtime with the following exception: