Files
FarmaFinder/ios/App/Podfile
T
Ichitux ef5d33a595
Build & Push Docker Images / test-backend (push) Successful in 21s
Build & Push Docker Images / test-frontend (push) Successful in 22s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 17s
fix(ios): align deployment target to 15.0 and link mlkit barcode pod
- All four IPHONEOS_DEPLOYMENT_TARGET entries in project.pbxproj bumped
  from 13.0 to 15.0 to match Podfile's 'platform :ios, 15.0' and
  Capacitor 8's minimum. Mismatched target caused Swift compile errors
  for iOS-15-only APIs in linked pods.
- Add CapacitorMlkitBarcodeScanning pod to Podfile and the package to
  root package.json (already in frontend/package.json). Without this,
  cap sync never linked the pod and the build failed with
  'No such module CapacitorMLKitBarcodeScanning'.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-27 10:55:13 +02:00

28 lines
1002 B
Ruby

require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
platform :ios, '15.0'
use_frameworks!
# workaround to avoid Xcode caching of Pods that requires
# Product -> Clean Build Folder after new Cordova plugins installed
# Requires CocoaPods 1.6 or newer
install! 'cocoapods', :disable_input_output_paths => true, :warn_for_unused_master_specs_repo => false
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorMlkitBarcodeScanning', :path => '../../node_modules/@capacitor-mlkit/barcode-scanning'
pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
end
target 'App' do
capacitor_pods
# Add your Pods here
end
post_install do |installer|
assertDeploymentTarget(installer)
end