-
Notifications
You must be signed in to change notification settings - Fork 429
Open
Description
Your Feature Request
Hi Tesseract team,
I maintain a community binary distribution for Apple platforms and wanted to share it in case it’s useful to list as an option for macOS/iOS users.
- Repo: https://github.com/lexiaoyao20/tesseract-Apple (build/packaging scripts only; no upstream patches;).
- Artifact: Tesseract.xcframework with arm64 slices for iOS (device + simulator) and macOS 11+. Built statically with zlib 1.3.1, libpng 1.6.40, libjpeg-turbo 3.0.0, libtiff 4.6.0, and Leptonica 1.84.1. Tessdata is not included; users add their own.
- Distribution: Can be consumed via Swift Package Manager (binary target) or CocoaPods (binary pod). Current upstream version tracked: 5.5.1.
- SPM example: .package(url: "https://github.com/lexiaoyao20/tesseract-Apple.git", from: "5.5.1")
- CocoaPods example: pod 'Tesseract', :git => 'https://github.com/lexiaoyao20/tesseract-Apple.git'
- Automation: A GitHub Actions workflow checks
tesseract-ocr/tesseractdaily and on manual trigger. When a new numeric tag appears, it builds macOS + iOS binaries on macos-latest, packages the XCFramework, uploads to a GitHub Release, and updatesPackage.swift/Tesseract.podspecwith the URL + checksum. - Extras:
build.shsupports local rebuilds (e.g., ENABLE_IOS=0 for macOS-only). There’s a small UIKit sample under demo/macos showing usage of the XCFramework. - Limitations: Apple Silicon only (macOS arm64); iOS is arm64 for device and simulator; no macOS x86_64 slice yet. No upstream code changes—this is just convenience packaging.
If this looks helpful, I’d be glad to have it mentioned in your docs/wiki as a community-maintained Apple binary option. Feedback welcome, and I’m happy to align with any guidance you have.
Metadata
Metadata
Assignees
Labels
No labels