Skip to content

fix: xcode ci build#45

Merged
sirily11 merged 1 commit into
mainfrom
xcode-fix
May 22, 2026
Merged

fix: xcode ci build#45
sirily11 merged 1 commit into
mainfrom
xcode-fix

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 22, 2026 02:38
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 22, 2026 2:39am

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses CI build failures by ensuring SwiftUI preview-only code is correctly excluded from non-Debug builds and by updating the GitHub Actions mobile build step to compile the iOS app using the Release configuration (where DEBUG is not defined).

Changes:

  • Move the #endif in SessionsList.swift to ensure #Preview blocks (and their supporting preview-only state) are fully wrapped in #if DEBUG.
  • Update the build-mobile GitHub Actions step to build RxCodeMobile with -configuration Release to catch Debug-only code that accidentally leaks into production builds.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
RxCodeMobile/Views/SessionsList.swift Fixes conditional compilation so preview code doesn’t compile in Release, preventing Release build errors.
.github/workflows/test.yaml Builds the iOS app in Release during CI to surface missing/incorrect #if DEBUG guards.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sirily11 sirily11 enabled auto-merge (squash) May 22, 2026 02:41
@sirily11 sirily11 merged commit 609747f into main May 22, 2026
12 checks passed
@sirily11 sirily11 deleted the xcode-fix branch May 22, 2026 02:44
@sirily11
Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.9.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants