-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Make iOS SPM platform version configurable #7544
Comments
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
Reproduced here - https://github.com/urbanairship/capacitor-airship/tree/spm-issue/example
|
This issue has been labeled as |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Description
Make iOS platform configurable when using SPM
Platforms
Request or proposed solution
Make it possible to specify the iOS platform version when using SPM.
Right now this template is used to generate an SPM file that pulls in all plugins (I think) -https://github.com/ionic-team/capacitor/blob/main/ios-spm-template/App/CapApp-SPM/Package.swift#L7, the issue it hardcodes the platform version to 13, so if any plugin requires a newer version the build fails:
If i modify the spm.js file that has that template embedded to use v14, build works as expected.
Alternatives
No response
Additional Information
You can install the @ua/capacitor-airship 2.0.0 plugin to reproduce this
The Package.swift with the issue:
https://github.com/urbanairship/capacitor-airship/blob/main/Package.swift
The text was updated successfully, but these errors were encountered: