Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

CocoaPods support #1

Closed
rad3ks opened this issue Feb 11, 2015 · 4 comments
Closed

CocoaPods support #1

rad3ks opened this issue Feb 11, 2015 · 4 comments

Comments

@rad3ks
Copy link

rad3ks commented Feb 11, 2015

CocoaPods are currently in beta for Swift, however I would love to have a possibility to integrate Swift-CAAnimation-Closure with my project via CocoaPods.

Expectations:

  • create podspec
  • publish pod!
@rad3ks rad3ks changed the title Add CocoaPods support CocoaPods support Feb 11, 2015
@honghaoz
Copy link
Owner

@rad3ks Hi rad3ks, thanks for your great suggestions. Since I'm not familiar with CocoaPods with Swift now. I'll take some time for integrating.

@honghaoz
Copy link
Owner

@rad3ks

Got some errors, some errors are caused by Swift 1.2 upgrade. Maybe we need to wait for CocoaPods to update?

pod lib lint

 -> Swift-CAAnimation-Closure (1.3)
    - ERROR | [iOS] Returned a unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:82:30: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:82:30: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:82:30: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:82:54: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:82:54: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:41: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:41: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:41: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:65: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:65: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:109:30: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:109:30: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:109:30: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:109:54: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:109:54: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:41: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:41: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:41: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:65: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:65: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:135:30: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:135:30: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:135:30: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:135:54: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:135:54: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:41: error: expected type after 'as'
    - ERROR |  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:41: error: expected ',' separator
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:41: error: expected expression in list of expressions
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:65: error: consecutive statements on a line must be separated by ';'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:65: error: expected expression
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:87:24: error: '()' is not convertible to '() -> Void'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:114:24: error: '()' is not convertible to '(Bool) -> Void'
    - ERROR | [iOS]  /Volumes/DataHDD/Developer/iOS/Swift-CAAnimation-Closure/CAAnimation+Closure/CAAnimation+Closure.swift:140:24: error: '()' is not convertible to '(CGFloat) -> Void'

[!] Swift-CAAnimation-Closure did not pass validation.
You can use the `--no-clean` option to inspect any issue.

@honghaoz
Copy link
Owner

@rad3ks Hi rad3ks, podspec is updated and pod is pushed, support Swift 1.1 (since Xcode 6.3 is not released)

@rad3ks
Copy link
Author

rad3ks commented Feb 12, 2015

Don't worry about Swift1.2 support. Since Xcode 6.3 is in beta and Swift changes are not backward compatible there's no need to change anything.

Thanks for creating a .podspec! Cheers!

@rad3ks rad3ks closed this as completed Feb 12, 2015
honghaoz pushed a commit that referenced this issue Sep 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants