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

Update project for Xcode 15 #5426

Merged
merged 26 commits into from
Sep 28, 2023
Merged

Update project for Xcode 15 #5426

merged 26 commits into from
Sep 28, 2023

Conversation

pepicrft
Copy link
Contributor

@pepicrft pepicrft commented Sep 18, 2023

Short description πŸ“

GitHub's hosted runner has Xcode 15 already. This PR prepares the project to use Xcode 15 and updates the CI pipelines to use that version.

How to test the changes locally 🧐

Common workflows such as a build and testing should work.

Contributor checklist βœ…

  • The code has been linted using run ./fourier lint tuist --fix
  • The change is tested via unit testing or acceptance testing, or both
  • The title of the PR is formulated in a way that is usable as a changelog entry
  • In case the PR introduces changes that affect users, the documentation has been updated

Reviewer checklist βœ…

  • The code architecture and patterns are consistent with the rest of the codebase
  • Reviewer has checked that, if needed, the PR includes the label changelog:added, changelog:fixed, or changelog:changed, and the title is usable as a changelog entry

@pepicrft pepicrft self-assigned this Sep 18, 2023
Copy link
Collaborator

@danieleformichelli danieleformichelli left a comment

Choose a reason for hiding this comment

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

I think you need to change all the GitHub action configs to use the new runners?

@pepicrft pepicrft marked this pull request as ready for review September 18, 2023 13:12
@pepicrft
Copy link
Contributor Author

I think you need to change all the GitHub action configs to use the new runners?

If I'm not wrong, I think it's already pre-installed in the default runners

@@ -130,7 +130,7 @@ final class EmbedScriptGenerator: EmbedScriptGenerating {
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"

SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For context, DT_TOOLCHAIN_DIR causes issues with Xcode 15.

Copy link
Member

@fortmarek fortmarek left a comment

Choose a reason for hiding this comment

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

Tested this on my local machine with Xcode 15.0. Once we get the CI green, LGTM πŸš€ πŸ‘

@pepicrft pepicrft merged commit 6703093 into main Sep 28, 2023
33 of 34 checks passed
@pepicrft pepicrft deleted the xcode-15 branch September 28, 2023 08:56
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