简体   繁体   中英

Podspec and Project version

How does podspec know what Project version is the most current(stable) one? I am new to cocoapods and trying to understand how podspec keeps up with project versions.

A Podspec represents a single version of a library, which is why they're tied to a version number. So CocoaPods can look through all of the Podspecs for a CocoaPod and determine the latest by deciding which has the highest version number.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM