Skip to content

Conversation

@samdeane
Copy link

@samdeane samdeane commented Mar 3, 2020

When building for Catalyst on the Mac, canImport(AppKit) is true, so you also need to check for !targetEnvironment(macCatalyst).

When building for Catalyst on the Mac, canImport(AppKit) is true, so you also need to check for !targetEnvironment(macCatalyst).
@samdeane
Copy link
Author

samdeane commented Mar 3, 2020

Don't ask my why canImport(AppKit) evaluates to true in this situation - seems wrong to me - but currently it does! 🤷‍♂

@ldiqual
Copy link
Contributor

ldiqual commented Mar 4, 2020

Thanks a lot for contributing! I moved your code to this PR and I added test support + ran it locally. Unfortunately fastlane scan doesn't seem to support Catalyst runs yet. I'll close this PR and I'll merge #17 as soon as build checks pass. Thanks again!

@ldiqual ldiqual closed this Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants