Hi there!
We’ve begun our migration from Cordova to Capacitor (v2)! This is the first question I’m posting regarding native project configuration.
For setting the iOS minimum version (we’re trying to set it to 13.0
), I took a hint from the Capacitor v3 upgrade doc (https://capacitorjs.com/docs/v3/updating/3-0#set-ios-deployment-target-to-120 ) on where to look to configure this. It said to make the change on the App
project’s target and project. This made a change to the ios/App/App.xcodeproj/project.pbxproj
file and changed all of the IPHONEOS_DEPLOYMENT_TARGET
values. So far so good.
I then wondered about the Pods
project. Should the deployment target be changed there as well?
Perhaps related, but I see that in the capacitor.config.json
file there’s an ios.minVersion
setting (https://capacitorjs.com/docs/config ). (Questionably, there’s apparently not an Android analogue to this.) Should this be changed as well? Setting it to 13.0
does not appear to affect the main App
project but does change the deployment target in the Pods
project. As for pending changes, in addition to the capacitor.config.json
changes the ios/App/Podfile
is updated.
However, it does not update the deployment target in the Pod
project’s targets such as Capacitor
and CapacitorCordova
. Other targets such as CordovaPlugins
and Pods-App
were updated to 13.0
. Is this expected?
Any help is appreciated! Thank you!
Kevin