From 3e68f6cd659fff5a873a3db1b7c1561c70e56936 Mon Sep 17 00:00:00 2001 From: Andre Destro Date: Fri, 28 Aug 2026 10:26:10 +0100 Subject: [PATCH] fix(ios): bump ion-ios-camera to 2.0.0 IONCameraLib 2.0.0 raises its own minimum deployment target to iOS 15 and replaces the AVFoundation APIs Apple deprecated in iOS 16 and 18. SwiftPM and CocoaPods compile a dependency with the consuming app's deployment target, so apps targeting iOS 18+ were seeing those deprecation warnings in their own builds. They no longer do. Not a breaking change for this plugin: it already declares iOS 15 as its minimum in both Package.swift and CapacitorCamera.podspec, so every app that can build the plugin today can build it against 2.0.0. Verified with `npm run verify:ios` (xcodebuild clean build, generic iOS): 0 warnings, BUILD SUCCEEDED. --- CapacitorCamera.podspec | 2 +- Package.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CapacitorCamera.podspec b/CapacitorCamera.podspec index d4b2c86..874ae4a 100644 --- a/CapacitorCamera.podspec +++ b/CapacitorCamera.podspec @@ -13,6 +13,6 @@ Pod::Spec.new do |s| s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}', s.ios.deployment_target = '15.0' s.dependency 'Capacitor' - s.dependency 'IONCameraLib', spec='~> 1.0.5' + s.dependency 'IONCameraLib', spec='~> 2.0.0' s.swift_version = '5.1' end diff --git a/Package.swift b/Package.swift index e82da34..5553edb 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"), - .package(url: "https://github.com/ionic-team/ion-ios-camera.git", from: "1.0.5") + .package(url: "https://github.com/ionic-team/ion-ios-camera.git", from: "2.0.0") ], targets: [ .target(