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

In the "Install Manually for Swift" page you need to add @objc in Swift 4 and above #134

Open
cortis opened this issue Nov 24, 2020 · 1 comment

Comments

@cortis
Copy link

cortis commented Nov 24, 2020

With Swift 4 and higher you need to change the code for the CucumberInitializer to include the @objc tag like the following

import Foundation
        @objc class CucumberishInitializer: NSObject {
            @objc class func CucumberishSwiftInit()

Otherwise you'll get an error that CucumberishSwiftInit() is not a method on CucumberishInitializer

@zhaoxh11
Copy link

Hi, will you encounter the issue No such module 'Cucumberish' in file CucumerishInitiallzer.swift.

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

2 participants