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

Swift 4 Support #43

Closed
joaogithub opened this issue Oct 26, 2017 · 2 comments
Closed

Swift 4 Support #43

joaogithub opened this issue Oct 26, 2017 · 2 comments

Comments

@joaogithub
Copy link

I'm using EPSignature 1.0.3 as a dependency of my private Cocoa Pod.
I've got several other dependencies in my pod spec file, all supporting Swift 4.
I cannot get my pod spec through lint validation if I include EPSignature as a dependency.

I'm getting the following errors when running pod spec lint command:
- ERROR | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:42:117: error: argument of '#selector' refers to instance method 'onTouchCancelButton()' that is not exposed to Objective-C - NOTE | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:103:10: note: add '@objc' to expose this instance method to Objective-C - ERROR | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:46:113: error: argument of '#selector' refers to instance method 'onTouchDoneButton()' that is not exposed to Objective-C - NOTE | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:108:10: note: add '@objc' to expose this instance method to Objective-C - ERROR | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:48:115: error: argument of '#selector' refers to instance method 'onTouchClearButton()' that is not exposed to Objective-C - NOTE | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:144:10: note: add '@objc' to expose this instance method to Objective-C - ERROR | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:60:123: error: argument of '#selector' refers to instance method 'onTouchActionButton' that is not exposed to Objective-C

These errors are related to Swift 3 to Swift 4 conversion.
Is there any expected time for EPSignature to support Swift 4?

Thanks and congrats on your work

@priyankagaikwad
Copy link

Hi
I also need swift 4 support for this. Is there any update for this?

@ipraba
Copy link
Owner

ipraba commented Jul 29, 2018

Now the library is updated with swift4 in the version 1.0.6. Kindly update your pods. Apologies for late update. 😔

@ipraba ipraba closed this as completed Jul 29, 2018
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

No branches or pull requests

3 participants