fix(ios): bump ion-ios-camera to 2.0.0 - #77
Open
andredestro wants to merge 1 commit into
Open
Conversation
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.
andredestro
requested review from
ItsChaceD,
OS-pedrogustavobilro,
OS-ruimoreiramendes,
alexgerardojacinto,
jcesarmobile,
markemer and
theproducer
August 28, 2026 09:35
OS-pedrogustavobilro
approved these changes
Aug 28, 2026
jcesarmobile
approved these changes
Aug 28, 2026
jcesarmobile
left a comment
Member
There was a problem hiding this comment.
not a blocker, but for CocoaPods, ~> 2.0.0 means any 2.0.x version but not including 2.1.0, while for SPM from: "2.0.0" will include any 2.x version, so maybe we might want to have the same behavior on both package managers?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to RMET-5354.
Why
ion-ios-camera 2.0.0 raises the library's minimum deployment target to iOS 15 and removes the AVFoundation APIs Apple deprecated in iOS 16 and 18 (
AVAsset(url:),AVAsset.duration,AVAsset.tracks(withMediaType:)).Those deprecations were never visible in the library's own build, but they were visible to consumers: SwiftPM and CocoaPods compile a dependency with the consuming app's deployment target, so any app targeting iOS 18+ saw them. Picking up 2.0.0 is what actually clears them for apps using this plugin.
The bump does not happen on its own.
Package.swiftusedfrom: "1.0.5", which SwiftPM reads as>=1.0.5 <2.0.0, and the podspec used~> 1.0.5, i.e.>=1.0.5 <1.1.0. Both stop short of 2.0.0.What changed
Package.swift:ion-ios-camerafrom: "1.0.5"→from: "2.0.0"CapacitorCamera.podspec:IONCameraLib~> 1.0.5→~> 2.0.0Not a breaking change here
ion-ios-camera2.0.0 is a major because it drops iOS 14. This plugin already declares iOS 15 as its minimum, inPackage.swift(platforms: [.iOS(.v15)]) and inCapacitorCamera.podspec(s.ios.deployment_target = '15.0'), so its own floor does not move. Every app that can build this plugin today can build it against 2.0.0.Marked
fix(ios):accordingly, matching the previous dependency bumps (#66, #50, #46).Verification
npm run verify:ios(xcodebuild clean build -scheme CapacitorCamera -destination generic/platform=iOS):swift package resolvepinsion-ios-camera 2.0.0,capacitor-swift-pm 8.5.0IONCameraLib2.0.0 is live on CocoaPods trunkCI covers the rest:
verify:android,verify:web, and both example-app builds.