Initialize Tauri iOS support with conditional compilation: - Desktop-only features (git CLI, menu, MCP, Claude CLI) gated behind #[cfg(desktop)] - Mobile stubs return graceful errors so frontend degrades smoothly - Vault read/write, AI chat, search, settings work unchanged on both platforms - Xcode project generated, Rust cross-compiles cleanly to aarch64-apple-ios-sim - All 581 Rust tests and 2201 frontend tests still pass Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
577 B
Ruby
22 lines
577 B
Ruby
# Uncomment the next line to define a global platform for your project
|
|
|
|
target 'laputa_iOS' do
|
|
platform :ios, '14.0'
|
|
# Pods for laputa_iOS
|
|
end
|
|
|
|
target 'laputa_macOS' do
|
|
platform :osx, '11.0'
|
|
# Pods for laputa_macOS
|
|
end
|
|
|
|
# Delete the deployment target for iOS and macOS, causing it to be inherited from the Podfile
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
|
|
config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
|
|
end
|
|
end
|
|
end
|