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

macOS. Fix 'LottieContentMode' has no member 'rawValue' compile error #880

Merged
merged 1 commit into from
May 13, 2019

Conversation

nekrich
Copy link
Contributor

@nekrich nekrich commented Apr 22, 2019

Hi.

#868 brought compile error to macOS target, cause LottieContentMode is not RawRepresentable.
Error: Value of type 'LottieContentMode' has no member 'rawValue'.

print("unsupported contentMode: \(contentMode.rawValue); please update lottie-ios")

There is no need in @unknown default check of LottieContentMode on macOS target.

@Coeur
Copy link
Contributor

Coeur commented Apr 23, 2019

Thank you for bringing this, @nekrich, and sorry for breaking the macOS target.

@thedrick thedrick merged commit 6122b4d into airbnb:master May 13, 2019
calda pushed a commit that referenced this pull request Nov 28, 2022
macOS. Fix `'LottieContentMode' has no member 'rawValue'` compile error
calda pushed a commit that referenced this pull request Dec 1, 2022
macOS. Fix `'LottieContentMode' has no member 'rawValue'` compile error
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.

None yet

3 participants