简体   繁体   中英

Set required iOS SDK version in podspec?

Anyone know of a way to set a required SDK version in a CocoaPod podspec? I'd like to set a requirement of the iOS 8 SDK while deploying back to iOS 6.

Use platform in pod spec to specify the version. For Example

spec.platform     = :ios, "7.0"

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