Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Cocoapods support #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Cocoapods support #1

wants to merge 1 commit into from

Conversation

mRs-
Copy link

@mRs- mRs- commented Jul 2, 2017

  • Currently not tested in production

@regexident
Copy link
Owner

Thanks Marius!

Unfortunately when running $ pod spec lint I get this:

 -> Rainbows (1.0.0)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:17:29: error: use of undeclared type 'CAMetalLayer'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:37:25: error: property does not override any property from its superclass
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:43:33: error: use of undeclared type 'MTLDevice'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:43:25: error: property does not override any property from its superclass
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:55:21: error: initializer does not override a designated initializer from its superclass
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:65:26: error: method does not override any method from its superclass
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:86:26: error: method does not override any method from its superclass
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:26:13: error: value of type 'GradientLayer' has no member 'setNeedsDisplay'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:33:13: error: value of type 'GradientLayer' has no member 'setNeedsDisplay'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:39:13: error: value of type 'GradientLayer' has no member 'setNeedsDisplay'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:56:9: error: 'super' members cannot be referenced in a root class
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:62:9: error: 'super' members cannot be referenced in a root class
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:66:9: error: 'super' members cannot be referenced in a root class
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:72:28: error: use of unresolved identifier 'MTLCreateSystemDefaultDevice'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:77:13: error: value of type 'GradientLayer' has no member 'backgroundColor'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:82:9: error: value of type 'GradientLayer' has no member 'pixelFormat'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:83:9: error: value of type 'GradientLayer' has no member 'framebufferOnly'
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientLayer.swift:87:9: error: 'super' members cannot be referenced in a root class
    - ERROR | [iOS] xcodebuild:  Rainbows/Rainbows/GradientRenderer.swift:157:22: error: use of undeclared type 'CAMetalDrawable'
    - WARN  | [iOS] xcodebuild:  Rainbows/Rainbows/GradientView.swift:26:36: warning: cast from 'CALayer' to unrelated type 'GradientLayer' always fails
    - WARN  | [iOS] xcodebuild:  Rainbows/Rainbows/GradientView.swift:29:29: warning: cast from 'CALayer' to unrelated type 'GradientLayer' always fails
    - WARN  | [iOS] xcodebuild:  Rainbows/Rainbows/GradientView.swift:36:36: warning: cast from 'CALayer' to unrelated type 'GradientLayer' always fails
    - WARN  | [iOS] xcodebuild:  Rainbows/Rainbows/GradientView.swift:39:29: warning: cast from 'CALayer' to unrelated type 'GradientLayer' always fails

Analyzed 1 podspec.

@mRs-
Copy link
Author

mRs- commented Jul 3, 2017

Yeah it's a problem with the simulator. I will add a post install script to get this running. Maybe the CocoaPods God is happy then ^^

@regexident
Copy link
Owner

Related issues on CocoaPods: #3995, #5356, #5071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants