You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: cap sync raises plugin Package.swift to the app's deployment target, breaking SPM on iOS 18+ #8730
Since #8641, cap sync ios raises every plugin's platforms: to the app's deployment target. With IPHONEOS_DEPLOYMENT_TARGET = 18.0, node_modules/@capacitor/app/Package.swift becomes:
node_modules/@capacitor/app/Package.swift:6:23: error: 'v18' is unavailable
note: 'v18' was introduced in PackageDescription 6.0
experimental.ios.spm.swiftToolsVersion (the answer in #8571) only affects CapApp-SPM, so it doesn't help here.
Expected Behavior
Plugins are raised to Capacitor's own minimum (.v16), as the doc comment on patchPackageSwiftDeploymentTarget describes. In cli/src/ios/update.ts, passing that instead of iosVersion fixes it.
Activity