Skip to content

Fix UIColorWell build error on tvOS 13 #217

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

Merged
merged 4 commits into from
Jun 6, 2023
Merged

Conversation

lechium
Copy link
Contributor

@lechium lechium commented Apr 27, 2023

UIColorWell is marked unavailable by Apple, but the symbol still exists in tvOS 14 (when it was introduced) without completely gating this off in #if os(iOS) for some reason the symbol still links, and when it isn't found in 13 and lower, any tvOS app that uses this library will crash on 13 and below.

Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_UIColorWell | Referenced from: /Applications/Provenance.app/Provenance | Expected in: /System/Library/Frameworks/UIKit.framework/UIKit | in /Applications/Provenance.app/Provenance

@davdroman davdroman changed the title fix tvOS issues for versions 13.0 and under. properly gate UIColorWell off as iOS exclusive Fix UIColorWell build error on tvOS 13 Jun 6, 2023
@davdroman davdroman changed the title Fix UIColorWell build error on tvOS 13 Fix UIColorWell build error on tvOS 13 Jun 6, 2023
@davdroman davdroman merged commit 01cf328 into siteline:master Jun 6, 2023
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