Skip to content

Conversation

@shai-almog
Copy link
Collaborator

Motivation

  • Pin the macOS build/test steps to Xcode 26 to ensure the CI uses the newer Xcode toolchain for xcodebuild and related tooling.
  • Update the simulator runtime to iOS 26.0 so UI tests and screenshot jobs target the matching iOS SDK.

Description

  • Set DEVELOPER_DIR to /Applications/Xcode_26.app/Contents/Developer in scripts/build-ios-app.sh so the build step uses Xcode 26.
  • Set DEVELOPER_DIR to /Applications/Xcode_26.app/Contents/Developer in scripts/run-ios-ui-tests.sh so the test step uses the same Xcode instance.
  • Update the GitHub Actions workflow IOS_SIM_DESTINATION to platform=iOS Simulator,name=iPhone 16 Pro,OS=26.0 in .github/workflows/scripts-ios.yml so the simulated device targets iOS 26.0.

Testing

  • No automated tests were run for this change because it is a CI configuration update only.

Codex Task

@shai-almog
Copy link
Collaborator Author

shai-almog commented Jan 22, 2026

iOS screenshot updates

Compared 30 screenshots: 21 matched, 7 updated, 1 missing reference, 1 error.

  • BrowserComponent — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    BrowserComponent
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as BrowserComponent.png in workflow artifacts.

  • graphics-draw-arc — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    graphics-draw-arc
    Preview info: JPEG preview quality 20; JPEG preview quality 20; downscaled to 603x1311.
    Full-resolution PNG saved as graphics-draw-arc.png in workflow artifacts.

  • graphics-draw-gradient — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    graphics-draw-gradient
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 844x1835.
    Full-resolution PNG saved as graphics-draw-gradient.png in workflow artifacts.

  • graphics-draw-line — comparison error. Comparison error: 213407 > -1528969535

    No preview available for this screenshot.
    Full-resolution PNG saved as graphics-draw-line.png in workflow artifacts.

  • graphics-draw-round-rect — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots/graphics-draw-round-rect.png.

    graphics-draw-round-rect
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 844x1835.
    Full-resolution PNG saved as graphics-draw-round-rect.png in workflow artifacts.

  • graphics-draw-string — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    graphics-draw-string
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 422x918.
    Full-resolution PNG saved as graphics-draw-string.png in workflow artifacts.

  • graphics-draw-string-decorated — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    graphics-draw-string-decorated
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 603x1311.
    Full-resolution PNG saved as graphics-draw-string-decorated.png in workflow artifacts.

  • graphics-fill-arc — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    graphics-fill-arc
    Preview info: JPEG preview quality 10; JPEG preview quality 10; downscaled to 844x1835.
    Full-resolution PNG saved as graphics-fill-arc.png in workflow artifacts.

  • kotlin — updated screenshot. Screenshot differs (1206x2622 px, bit depth 8).

    kotlin
    Preview info: JPEG preview quality 30; JPEG preview quality 30; downscaled to 844x1835.
    Full-resolution PNG saved as kotlin.png in workflow artifacts.

Benchmark Results

  • VM Translation Time: 422 seconds
  • Compilation Time: 345 seconds

Detailed Performance Metrics

Metric Duration
Build Time Statistics
Setup & Unzip 52236 ms
Extract Extensions 23 ms
Google Services Setup 2 ms
Scan Classes 1541 ms
Extract Libs 1093 ms
Inject Build Hints 45 ms
Generate Unit Tests 3 ms
Generate Stubs 1337 ms
Compile Stubs 2703 ms
Generate Icons 1260 ms
Prepare ParparVM 211 ms
ParparVM Execution 222351 ms
Post-VM Setup 245 ms
CocoaPods 8259 ms
Finalize 136 ms
Total Time 291447 msMaven Overhead : 131000 ms
CocoaPods Install (Script) 2000 ms
Simulator Boot 110000 ms
Simulator Boot (Run) 6000 ms
App Install 20000 ms
App Launch 17000 ms
Test Execution 199000 ms

@shai-almog shai-almog merged commit 25269c4 into master Jan 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants