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
Carthage #21
Comments
Hi, thank you for the article links! Carthage is definitely something I want to support. To do this, it might be necessary to create a new project for the WKZombie files itself. I'll look into it. |
@mkoehnke I'd happily do it for you. If you don't mind. |
@Dershowitz011 Thanks for your offer. Sure. Just make a pull request with a short description of what you've changed. Thanks! |
There's really nothing to change @mkoehnke . Just add all the classes you've made already to a framework and share it. That's all. But I am not getting how to import hpple. 😞 |
@Dershowitz011 As a dependency of WKZombie, does hpple have to support Carthage as well? Because it currently doesn't. |
No it doesn't need Carthage support. If your framework has it as a dependency, it's enough! |
Implemented with pull request #25 |
Hi, I cant install WKZombie using carthage. Help |
Hi @antoine-ki. Thanks for trying out WKZombie! Unfortunately, I can't reproduce the issue you're seeing. Could you please be more specific about the content of your |
Hi, Sure, Cartfile Content: Cartfile update: I have a Regular Carthage installation When i run the update command i get: |
@antoine-ki Strange. Please try to add a tag number to your Cartfile and run carthage again: |
It Worked! I added the version number to the Cartfile. Can you tell me why the error was occurring? Thank you 👯 |
@antoine-ki It looks like that Carthage doesn't work that well if a framework dependency (hpple) is referenced via branch name. Using a tag seems to be the way to go. I've created a new WKZombie version (0.9.5) that does that. As Carthage always uses the latest tag by default, |
Worked! Thank you. Side question: (i dont want to open an issue for it) I do: then `=== testRes function testRes(){}` What should the input of the function be? HTMLElement? I tried it it gives me an error |
@antoine-ki I would like to avoid mixing issues / questions. Feel free to open a new issue anytime. Even if it's just a question. Anyway. Regarding your question. Your code should look something like this: browser.open(NSURL(string: "https://www.google.com")!)
>>> browser.get(by: .Name("q"))
>>> browser.setAttribute("value", value: "test")
>>> browser.get(by: .Name("q"))
=== testRes func testRes(result: HTMLElement?) {
// handle result
} or func testRes(result: Result<HTMLElement>) {
switch result {
case .Success(let value): // handle success
case .Error(let error): // handle error
}
} Let me know if that helps and I can close this issue. Thanks. |
Hi,
It's will be great to add Carthage support
Take a look at these articles:
The text was updated successfully, but these errors were encountered: