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

Fix signature of access #103

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Fix signature of access #103

merged 4 commits into from
Nov 5, 2024

Conversation

mbrandonw
Copy link
Member

When we introduced IssueReporting to this library (#93) we added fileID/filePath/etc. to the access method, but only on the one that is for iOS <17 that does the dynamic checks. We need to add those arguments to the iOS 17+ version too to take advantage of being able to statically resolve that method at compile-time.

stephencelis and others added 2 commits November 4, 2024 14:30
* Fix registrar overload resolution

It looks like the `@availability` check we apply to the extension that
adds an `Observable` conformance prevents iOS 17+ deployment targets
from calling the correct version of `access`, which leads to errant
perception checks.

* Update Sources/Perception/Perceptible.swift

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>

---------

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
@stephencelis stephencelis merged commit 7a76798 into main Nov 5, 2024
3 checks passed
@stephencelis stephencelis deleted the fix-access-signature branch November 5, 2024 18:43
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

Successfully merging this pull request may close these issues.

2 participants