FredericJacobs / OpenSSL-Pod

Unmaintained - please fork. Email me to take over the CocoaPod
74 stars 112 forks source link

set the platforms in Cocoapods Spec #21

Open Whirlwind opened 9 years ago

Whirlwind commented 9 years ago

The spec id not pass validation when I exec pod spec lint:

- ERROR | [watchOS] Returned on unsuccessful exit code.
- NOTE  | [watchOS] [BEROR]error: There is no SDK with the name or path 'watchos'
- NOTE  | [watchOS] error: There is no SDK with the name or path 'watchos'

I found the spec have not platforms ! Please add below code in the spec:

"platform": {
    "ios": "7.0"
}

On the other hand, why did you set the min version 7.0 in the prepare_command?

MIN_SDK_VERSION_FLAG="-miphoneos-version-min=7.0"