Skip to content

Fix build error on xcode preview #45

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 1 commit into from
Oct 17, 2024
Merged

Fix build error on xcode preview #45

merged 1 commit into from
Oct 17, 2024

Conversation

p-x9
Copy link
Owner

@p-x9 p-x9 commented Oct 17, 2024

#44

In environments where Objective-C is not available, ObjectAssociation is used.
Only for .linux, .openbsd, .windows and .android platforms is this framework linked.

However, in Xcode Preview, canImport(ObjectAssociation) was true.
Therefore, symbols were referenced and a linker error occurred.

As a work-around, the conditions were added

@p-x9 p-x9 mentioned this pull request Oct 17, 2024
@p-x9 p-x9 merged commit 2f6b531 into main Oct 17, 2024
2 checks passed
@p-x9 p-x9 deleted the fix/error-xcode-preview branch October 17, 2024 14:54
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.

1 participant