Skip to content

set the platforms in Cocoapods Spec #21

Description

@Whirlwind

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions