Repository navigation
mobile_rag_engine 0.22.1
mobile_rag_engine 0.22.1 makes the setup command apply the iOS and macOS host settings, so a fresh flutter create app that follows the README steps builds without editing the Podfile or the Xcode project. The native companion is unchanged at rag_engine_flutter 0.21.0, and no Rust toolchain is required.
Setup applies the Apple host settings
flutter_onnxruntime needs iOS 16.0 / macOS 14.0 and static framework linkage, while flutter create generates iOS 13.0 / macOS 10.15 with dynamic frameworks. Until now a fresh app failed in pod install unless these were changed by hand.
dart run mobile_rag_engine:setup now updates ios/ and macos/ when they exist:
- Podfile
platform: raised to iOS 16.0 / macOS 14.0, including a commented-out line. use_frameworks!: set to:linkage => :static, because ONNX Runtime is a static binary. A Podfile withoutuse_frameworks!is left alone.- Runner deployment target (
IPHONEOS_DEPLOYMENT_TARGET/MACOSX_DEPLOYMENT_TARGET): raised to the same minimum.
Settings that are already higher are kept, and each change is printed. setup --check fails while changes are pending, and --skip-host-config turns the feature off.
Verified
-
The new
Quick Start E2Eworkflow does what a new user would do:flutter create, then install 0.22.1 from pub.dev, then runsetupand--check, register the assets, and run the README first-success code. It runs with Rust removed, on a real target for each platform. -
All 4 platforms reach their first search:
Platform First search Android (x86_64 emulator) 1.4 s iOS (simulator) 2.5 s macOS 3.3 s Windows 1.0 s
Install
dependencies:
mobile_rag_engine: ^0.22.1Already on 0.22.0? Upgrade, then run dart run mobile_rag_engine:setup again. Any host settings you changed by hand are kept if they are already high enough.
Full changelog: mobile_rag_engine