Skip to content

Fix non-macOS Swift Package Index builds#411

Merged
lawrence-forooghian merged 1 commit intomainfrom
302-fix-spi-builds
Oct 14, 2025
Merged

Fix non-macOS Swift Package Index builds#411
lawrence-forooghian merged 1 commit intomainfrom
302-fix-spi-builds

Conversation

@lawrence-forooghian
Copy link
Copy Markdown
Collaborator

@lawrence-forooghian lawrence-forooghian commented Oct 13, 2025

See #302; hopefully this will resolve that (need to check next time SPI builds us).

Summary by CodeRabbit

  • Chores
    • Added a Swift Package Index build configuration covering iOS and tvOS builders.
    • Ensures only the compatible build target is used on non-macOS systems to avoid spurious build failures.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Oct 13, 2025

Walkthrough

Adds a new .spi.yml Swift Package Index configuration (version 1) defining builder configs for iOS and tvOS that build the AblyChat scheme and includes a comment advising that only AblyChat be built on non-macOS to avoid BuildTool-related failures.

Changes

Cohort / File(s) Summary of Changes
SPI configuration
./.spi.yml
Adds SPI config v1 with builder entries for iOS and tvOS, both targeting the AblyChat scheme; includes a comment to restrict non-macOS builds to AblyChat to prevent BuildTool failures.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related issues

Poem

A rabbit taps a YAML drum,
Two platforms hop, one scheme to come.
iOS and tvOS take their place,
BuildTool rests in macOS’ space.
The index hums — carrot paths clear. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly describes the primary change of addressing build failures for non-macOS Swift Package Index builds by updating the .spi.yml configuration, making it clear and directly related to the changeset. It is concise, specific, and omits unnecessary detail while communicating the core fix.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 302-fix-spi-builds

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 89d0b03 and 005930b.

📒 Files selected for processing (1)
  • .spi.yml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .spi.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Example app, iOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, macOS (Xcode 26.0)
  • GitHub Check: Xcode, macOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, tvOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, iOS (Xcode 26.0)
  • GitHub Check: Example app, macOS (Xcode 26.0)
  • GitHub Check: Xcode, iOS (Xcode 26.0)
  • GitHub Check: Example app, tvOS (Xcode 26.0)
  • GitHub Check: Xcode, tvOS (Xcode 26.0)
  • GitHub Check: SPM (Xcode 26.0)
  • GitHub Check: SPM, release configuration (Xcode 26.0)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 72c4db9 and 89d0b03.

📒 Files selected for processing (1)
  • .spi.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
  • GitHub Check: SPM (Xcode 26.0)
  • GitHub Check: Xcode, iOS (Xcode 26.0)
  • GitHub Check: Example app, tvOS (Xcode 26.0)
  • GitHub Check: Example app, macOS (Xcode 26.0)
  • GitHub Check: Example app, iOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, tvOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, macOS (Xcode 26.0)
  • GitHub Check: Xcode, release configuration, iOS (Xcode 26.0)
  • GitHub Check: Xcode, tvOS (Xcode 26.0)
  • GitHub Check: Xcode, macOS (Xcode 26.0)
  • GitHub Check: SPM, release configuration (Xcode 26.0)
  • GitHub Check: lint

Comment thread .spi.yml
See #302; hopefully this will resolve that (need to check next time SPI
builds us).
@lawrence-forooghian lawrence-forooghian merged commit 17d799f into main Oct 14, 2025
17 checks passed
@lawrence-forooghian lawrence-forooghian deleted the 302-fix-spi-builds branch October 14, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants