thumbtack / thumbprint-tokens

Design variables that power Thumbtack’s UI.
https://thumbprint.design/tokens/
Apache License 2.0
9 stars 1 forks source link

Fix iOS output in 10.1.1 #12

Closed danoc closed 4 years ago

danoc commented 4 years ago

Getting this error:

❯ pod spec lint

 -> ThumbprintTokens (10.1.1)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | [iOS] xcodebuild:  note: Planning build
    - NOTE  | [iOS] xcodebuild:  note: Constructing build description
    - ERROR | xcodebuild:  ThumbprintTokens/ThumbprintTokens.swift:88:48: error: cannot assign to immutable expression of type 'UIColor.Type'
    - NOTE  | [iOS] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 2 errors.
danoc commented 4 years ago

This is the one it's getting messed up on.

    /// White – #ffffff
    public static let white: UIColor = UIColor = UIColor(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)