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

Example app fails #88

Open
smartkiwi opened this issue Jan 24, 2022 · 1 comment
Open

Example app fails #88

smartkiwi opened this issue Jan 24, 2022 · 1 comment

Comments

@smartkiwi
Copy link

Trying to run example app via running swift run and getting error:

/Users/.../tmp/Swindler/.build/checkouts/AXSwift/Sources/Observer.swift:38:19: error: thrown expression type 'AXError' does not conform to 'Error'
            throw error
                  ^~~~~

Some information about my system:

% swift -version
swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
Target: x86_64-apple-macosx11.0
@smartkiwi
Copy link
Author

What helped was to update https://github.com/tmandry/Swindler/blob/main/Package.swift#L20 to be .package(url: "https://github.com/tmandry/AXSwift.git", from: "0.3.1"),

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

1 participant