Files
rocr/rusto-rs/packages/ios/RustO.podspec
T
ssw c303c315e5 rocr: rusto-rs 源码入库(上游 v0.2.5 基线 57609fc + 本地补丁)
- 源码 316 文件收编为 rusto-rs/ 文件夹,随本仓库管理
- 移除内部 .git(补丁已存档 docs/rusto-rs-metal-patch-20260912.patch,上游可随时 re-clone)
- target/ 与 docs/.yarn 缓存不入库;本地改动:ROCR_* 环境变量调优 + Metal 链接修复 + 预处理测试脚本
2026-09-12 17:30:04 +08:00

39 lines
1.3 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'RustO'
s.version = '0.2.5'
s.summary = 'RustO! - Pure Rust OCR library for iOS'
s.description = <<-DESC
RustO! is a high-performance OCR (Optical Character Recognition) library
written in pure Rust, based on RapidOCR and powered by PaddleOCR models
with ONNX Runtime inference. This pod provides Swift bindings for iOS.
DESC
s.homepage = 'https://github.com/byrizki/rusto-rs'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'RustO Contributors' => '[email protected]' }
s.source = {
:http => "https://github.com/byrizki/rusto-rs/releases/download/v#{s.version}/RustO.xcframework.zip"
}
s.ios.deployment_target = '12.0'
s.swift_version = '5.0'
# Swift source files
s.source_files = 'src/**/*.swift'
# XCFramework selects exactly one platform slice. Do not glob individual
# static archives: CocoaPods otherwise adds device and simulator libraries,
# then rejects their identical libRustoCore.a names.
# Core archive name differs from pod target libRustO.a on case-insensitive FS.
s.vendored_frameworks = 'RustO.xcframework'
# Frameworks
s.frameworks = 'Foundation'
# Build settings
s.pod_target_xcconfig = {
'ENABLE_BITCODE' => 'NO'
}
end