OpenSSL-Pod icon indicating copy to clipboard operation
OpenSSL-Pod copied to clipboard

set the platforms in Cocoapods Spec

Open Whirlwind opened this issue 10 years ago • 0 comments

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"

Whirlwind avatar Sep 08 '15 02:09 Whirlwind