Skip to content

ci: verify XCFramework is complete in pub package - #240

Merged
tompsota merged 1 commit into
masterfrom
ci/verify-package-contents
Oct 14, 2026
Merged

tompsota merged 1 commit into
masterfrom
ci/verify-package-contents

Conversation

@tompsota

Copy link
Copy Markdown
Member

What's new

Adds a verify-pub-package CI job that diffs the files the pub package would publish against git ls-files ios/freerasp/TalsecRuntime.xcframework.

Every file sealed in the XCFramework's _CodeSignature/CodeResources must ship, otherwise Xcode fails on archive with signature-collection failed … A sealed resource is missing or invalid. .jbroot/libRHProbe.dat is a dot-file, so it only ships because of the negation rule in .pubignore. This repo is correct today; the job keeps it that way. Cordova shipped without it in 9.1.3 (talsec/Free-RASP-Cordova#77).

File list source: flutter pub publish --dry-run (the printed file tree is parsed back into paths; checked against the real pub.dev 8.2.4 archive, all 126 files match).

Verification (from master)

Ran the job's run: script locally with bash -eo pipefail:

  • current .pubignore: pass
  • with the XCFramework negation removed from .pubignore: fail, reporting both missing .jbroot/libRHProbe.dat files

No package or version changes.

Resolved issues

Ref talsec/Free-RASP-Cordova#77

🤖 Generated with Claude Code

Every file sealed in TalsecRuntime.xcframework's _CodeSignature must be
published, otherwise Xcode fails signature collection when archiving.
Dot-files such as .jbroot/libRHProbe.dat are excluded by default and only
ship thanks to the negation in .pubignore, so guard it in CI by diffing the
pub package file list against the tracked XCFramework files.

Ref talsec/Free-RASP-Cordova#77

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tompsota
tompsota merged commit a81f9a7 into master Oct 14, 2026
6 checks passed
@tompsota
tompsota deleted the ci/verify-package-contents branch October 14, 2026 11:44
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