Skip to content

Commit cdd0ddd

Browse files
ci: Update of iOS model to 13 (#3611)
## Purpose of this PR This PR aims to address iOS test failures on trunk that are happening because iOS min version was bumped to 15.0 where **SE** model that we were using is supporting 13.6.1 as per documentation. To address this we will update the model to **13** which supports 16.6 so minimum spec will be satisfied and we will use newer device Additionally this requires to address an issue of: > Automatic UI interruption handling is available for iPhones running iOS 15 and above (models SE-Gen3 and 13). It is enabled by default when using those devices. Otherwise, system alerts (e.g. “Local Network Access” permission alert, introduced in iOS 14) might cause disruptions during test execution. > > If building of the test app is done on a separate (“Build”) job, please make sure that that job has environment variable UNITY_HANDLEUIINTERRUPTIONS set to 1. ### Jira ticket N/A ## Documentation Added mention in CI comments ## Testing & QA Green CI for iOS test for trunk will be enough ## Backport Will do
1 parent 9c95726 commit cdd0ddd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.yamato/mobile-standalone-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ mobile_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4848
{% if platform.model %}
4949
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
5050
{% endif %}
51+
# Automatic UI interruption handling is available for iPhones running iOS 15 and above (models SE-Gen3 and 13).
52+
# It is enabled by default when using those devices. Otherwise, system alerts (e.g. “Local Network Access” permission alert, introduced in iOS 14) might cause disruptions during test execution.
53+
# If building of the test app is done on a separate (“Build”) job, please make sure that that job has environment variable UNITY_HANDLEUIINTERRUPTIONS set to 1.
54+
variables:
55+
UNITY_HANDLEUIINTERRUPTIONS: 1
5156
commands:
5257
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c il2cpp {% if platform.base == "mac" %} -c ios {% else %} -c android {% endif %}
5358
- UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --testproject={{ project.path }} --architecture={{ platform.architecture }} --scripting-backend=il2cpp --editor-location=.Editor --artifacts-path=artifacts --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800
@@ -96,7 +101,7 @@ mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
96101
{% else %}
97102

98103
# Run tests for non-Android devices
99-
- UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --artifacts-path=test-results --player-load-path=build/players --testproject={{ project.path }} --editor-location=.Editor --fail-on-assert --reruncount=1 --clean-library-on-rerun --timeout=3600
104+
- UnifiedTestRunner --suite=playmode --platform={{ platform.standalone }} --artifacts-path=test-results --player-load-path=build/players --testproject={{ project.path }} --editor-location=.Editor --fail-on-assert --reruncount=1 --clean-library-on-rerun --timeout=3600 --device-id=%BOKKEN_DEVICE_ID%
100105
{% endif %}
101106
artifacts:
102107
logs:

.yamato/project.metafile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration
1111
# flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac)
1212
# standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS)
13-
# model --> Defines specific hardware model requirements (e.g., rtx2080, SE for iPhone SE)
13+
# model --> Defines specific hardware model requirements (e.g., rtx2080, iPhone model 13). Notice that trunk currently (19.08.2025) has 13.0 as minimal iOS version which devices below this are not supporting
1414
# base --> Indicates the base operating system for build operations (e.g., win, mac)
1515
# architecture --> Specifies the target CPU architecture (e.g., armv7, arm64)
1616

@@ -89,7 +89,7 @@ test_platforms:
8989
type: Unity::mobile::iPhone
9090
image: package-ci/macos-13-arm64:v4
9191
flavor: m1.mac
92-
model: SE
92+
model: 13
9393
standalone: IOS
9494
base: mac
9595
architecture: arm64

0 commit comments

Comments
 (0)