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

FYI, SwiftUI-Introspect 0.2.0 changed min iOS to 13, breaking builds #20

Open
ggrell opened this issue Feb 28, 2023 · 2 comments
Open

Comments

@ggrell
Copy link

ggrell commented Feb 28, 2023

FYI, wanted to let you know that projects including ScrollViewProxy will likely break now that https://github.com/siteline/SwiftUI-Introspect/releases/tag/0.2.0 has a minimum iOS 13, but this project has min iOS 11. Can either try and upgrade this project to use the latest introspect library, or update the Package.swift to only include the exact version "0.1.4".

Workaround:
If someone includes this package as a dependency, you must also include the correct SwiftUI-Introspect version before the iOS minimum changed, like this:

    dependencies: [
        ...
        .package(url: "https://github.com/Amzd/ScrollViewProxy", exact: "1.0.3"),
        .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", exact: "0.1.4"),
        ...
    ]
@Amzd
Copy link
Owner

Amzd commented Feb 28, 2023

Hmm, that's not great. Maybe I should drop Introspect and just grab the scrollview similar to Introspect but without the rest of the package, because if I pin Introspect there will be others that want to use the newer release of it I'd assume?

@ggrell
Copy link
Author

ggrell commented Feb 28, 2023

True, it's possible some will need newer versions. Since Introspect hasn't released v1.0, might be best to copy code until they do, unfortunately.

I reached out to the maintainers here: siteline/swiftui-introspect#206

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