Skip to content
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

cocoapods repo push fails with Xcode 15 #5

Closed
acarioni opened this issue Nov 22, 2023 · 3 comments
Closed

cocoapods repo push fails with Xcode 15 #5

acarioni opened this issue Nov 22, 2023 · 3 comments

Comments

@acarioni
Copy link

I am the maintainer of a library that depends on JSONPatch. I appreciate your work on this library and I use it in my project. However, I encountered a problem when I tried to make a new release on Cocoapods. The problem is that since Xcode 14.3, the minimum deployment target for iOS has been increased to 11.0 (the current one for your library is 8.0) and for macOS to 10.12 (the current one is 10.10). The issue is discussed here and here.

Could you please update the files RMJSONPatch.podspec and Package.swift and make a new release of the library to comply with the latest versions of Xcode?

Also, could you please add the deployment targets for watchOS and tvOS in the podspec and package files? Currently, they are not specified and this may cause compatibility issues for some users.

I tested on the following targets and everything works as expected:

s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.12"
s.watchos.deployment_target = "3.0"
s.tvos.deployment_target = "10.0"

s.swift_versions = ['5']

Thank you for your time and attention.

@raymccrae
Copy link
Owner

Hi,

Thanks for writing and bring the matter to my attention. I will look in to updating the package management files.

Regards

@raymccrae
Copy link
Owner

Updated podspec with the changes to deployment targets and swift version release and published to cocoapods.org.
@acarioni if you'd like to verify that things are working for your project.

@acarioni
Copy link
Author

Everything works now. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants