It is unclear to me what effect changing the platform value will have, can someone elaborate? Will this simply mean that an error gets thrown if minimum version requirements for a library are not met?
https://guides.cocoapods.org/syntax/podfile.html#platform
Cocoapods is an application level dependency manager that runs on objective-c, swift, and any other programming languages that run on Objective-C. It focuses on source-based distribution of third party code and allows automatic integration to your Xcode projects.
It specifies the minimum OS version you are going to support for the pod project. If your applications project's deployment target is less than the pod project mentioned iOS version, you will get a warning if there any any APIs which are deprecated in the supported OS versions in the main project.
CocoaPods has over 82,000+ libraries and counting, and is being used in over three million apps. You can choose to create either a public or a private third-party library. A public library can used by others who could then suggest improvements to your code.
CocoaPods is an application level dependency manager for Objective-C, Swift and any other languages that run on the Objective-C runtime, such as RubyMotion, that provides a standard format for managing external libraries.
Yes, if POD A supports iOS 4.0 and has a dependency on POD B which only supports iOS 7.0, an error will be thrown when trying to publish the POD A's pod spec.
It will also be used to populate the iOS Deployment Target
build setting for the Pods target.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With