Skip to content

package: expose binary module to RCodesign consumers - #1

Open
bvolpato wants to merge 1 commit into
xtool-org:mainfrom
bvolpato:bvolpato/export-binary-product
Open

bvolpato wants to merge 1 commit into
xtool-org:mainfrom
bvolpato:bvolpato/export-binary-product

Conversation

@bvolpato

Copy link
Copy Markdown

Summary

An iOS consumer importing RCodesign can fail under Xcode 26.6 / Swift 6.3.3 with unable to resolve module dependency: 'RCodesignBinary'. The Swift wrapper itself builds, but Xcode does not make its binary C module available to the consumer.

Changes

Include the existing RCodesignBinary target in the RCodesign library product. The Swift API and native binary are unchanged.

Testing

The consumer is xtool d05c9257. The comparison uses the published source-0.2.0 package at 08650ab9 and a candidate at 3f4022aa with this identical one-line manifest change. It does not rebuild the Rust source or the default branch's local out artifact. No consumer pin changes are included in this PR.

  • Matched XKit iOS builds on Xcode 26.6 / Swift 6.3.3: the unchanged dependency fails with the module error, and the changed product builds successfully. Both use the same consumer, fork URL, revision-based dependency, SDK, and actual non-RCodesign resolved pins.
  • The original candidate job's post-build guard compares against the consumer's Swift 6.4 lockfile and fails. The Swift 6.3 dependency manifests select xctest-dynamic-overlay instead of swift-issue-reporting. The matched baseline and candidate both select the same Swift 6.3 graph. The recorded-artifact verifier passes: it checks immutable artifact hashes, both exact source/toolchain records, the complete matched non-RCodesign pin graphs, and the before-error/after-success result.
  • Xcode 27.1 / Swift 6.4 compatibility passed the unsigned iOS XKit build and strict resolved-pin guard. Every non-RCodesign pin matches the original Swift 6.4 lockfile.
  • Native macOS package tests passed under Xcode 26.6 / Swift 6.3.3. Linux Swift 6.4 package tests and an external product consumer passed, including entitlement parsing and signing error propagation.
  • Scoped swiftlint lint --strict --no-cache Package.swift passed with SwiftLint 0.65.1. git diff --check passed.

A local-package Xcode workspace-loading crash reproduced with both unchanged and changed manifests. The successful consumer comparison uses remote dependencies.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 258dccb0-bd7a-4e98-9c43-f5bc71b9b84d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T15:09:14.905098Z e018748 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant