Skip to content

feat(ios): add core-only CocoaPods target#142

Merged
erweixin merged 2 commits into
erweixin:mainfrom
floze-the-genius:feat/ratex-core-cocoapods
Jul 22, 2026
Merged

feat(ios): add core-only CocoaPods target#142
erweixin merged 2 commits into
erweixin:mainfrom
floze-the-genius:feat/ratex-core-cocoapods

Conversation

@floze-the-genius

Copy link
Copy Markdown
Contributor

Closes #141

Summary

  • add a standalone RaTeXCore podspec backed by the existing Apple Swift core and published static XCFramework
  • package only display-list types, RaTeXEngine, RaTeXRenderer, RaTeXFontLoader, and KaTeX fonts
  • load the CocoaPods-generated font bundle automatically without Bundle.module or Bundle.main assumptions
  • document core-only CocoaPods installation and direct Swift usage

The target contains no React, React Native, Fabric, Codegen, JavaScript, or RaTeX view sources.

Validation

  • pod lib lint RaTeXCore.podspec --quick --skip-tests --allow-warnings --no-clean
  • pod ipc spec RaTeXCore.podspec (verified source, framework, platform, and resource metadata)
  • direct swiftc -typecheck of the exact four pod Swift sources against the published v0.1.13 RaTeXFFI module
  • verified the published XCFramework archive includes iOS device, iOS simulator, and macOS slices
  • git diff --check

A full Xcode build was not run locally because this machine has Command Line Tools rather than a full Xcode installation.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55f6ac2b05

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread RaTeXCore.podspec
Comment thread platforms/ios/README.md Outdated
Comment thread RaTeXCore.podspec Outdated
@erweixin
erweixin merged commit f5af1e0 into erweixin:main Jul 22, 2026
6 checks passed
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.

Feature request: publish a core-only CocoaPods target for RaTeX (static, no React Native UI/Codegen)

2 participants