Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Fix ObjC testing with latest Xcode #1412

Merged
merged 1 commit into from Mar 20, 2024
Merged

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Mar 20, 2024

Platforms affected

iOS

Motivation and Context

Tests would fail to run in Xcode 15 due to not having a iPhone 8 simulator with the latest runtime, and CONFIGURATION_BUILD_DIR was causing errors about Cordova.framework not being found and sometimes warnings about stale files.

Description

  • Move macOS CI to run on macOS 14 on Apple Silicon, using Xcode 15
  • Set the tests to run with an iPhone 15 simulator
  • Fix a warning about a missing cast to AppDelegate*
  • Set -derivedDataPath rather than CONFIGURATION_BUILD_DIR so that Apple doesn't cache stale data about previous runs

Testing

Ran in GitHub CI and locally with latest Xcode 15

Checklist

  • I've run the tests to see all new and existing tests pass

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.50%. Comparing base (c97845a) to head (50fdd29).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1412   +/-   ##
=======================================
  Coverage   78.50%   78.50%           
=======================================
  Files          16       16           
  Lines        1814     1814           
=======================================
  Hits         1424     1424           
  Misses        390      390           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@erisu erisu merged commit 1974dbb into apache:master Mar 20, 2024
10 checks passed
@dpogue dpogue deleted the test-fixes branch March 20, 2024 22:46
ishiguro-m-wing added a commit to dejiren/cordova-ios that referenced this pull request Mar 29, 2024
This reverts commit 1974dbb.

Revert "feat: add privacy-manifest config support (apache#1406)"

This reverts commit c97845a.

Revert "ci(gh-action): add Apache RAT & package license checker workflow w/ license header additions (apache#1408)"

This reverts commit d316558.

Revert "fix: use PROVISIONING_PROFILE_SPECIFIER for manual codesigning (apache#1405)"

This reverts commit af6335e.

Revert "feat: add PrivacyInfo.xcprivacy for CordovaLib & app template (apache#1383)"

This reverts commit b400b70.

Revert "fix: WASM MIME type error by specifying it in Info.plist template (apache#1374)"

This reverts commit 902df96.

Revert "chore: update package & package-lock (apache#1404)"

This reverts commit 2091208.

Revert "chore: bump 7.1.0-dev for next minor release (apache#1403)"

This reverts commit 766adcf.

Revert "chore(deps-dev): bump @babel/traverse from 7.21.4 to 7.23.2 (apache#1382)"

This reverts commit 92017bb.

Revert "chore: Update Slack signup link in SUPPORT_QUESTION.md (apache#1380)"

This reverts commit be4c884.

Revert "chore: bump version 7.0.2-dev"

This reverts commit a1f3ace.
ishiguro-m-wing pushed a commit to dejiren/cordova-ios that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants