Skip to content

Conversation

@choule99
Copy link

For some unknown reason (probably a bug in Xcode), whenever you try to use an XCode previews on a macos target, will still try to compile / include frameworks which depends on the ios (even though you may have correctly defined the dependencies exclusions)

So to fix it, we need to add a #if canImport(UIKit) everywhere UIKit is included, so that the xcode previews can work

@markst
Copy link

markst commented Sep 13, 2023

Bit of a duplicate of #86 ?

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.

3 participants