-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
First install in visionOS project fails build with error: Unexpected duplicate tasks #4275
Comments
I get a different error when adding sentry-cocoa via SPM to an empty visionOS project. We have to investigate this and fix it. Thanks for reporting this, @longda. Furthermore, I'm surprised that our CI isn't failing. We should add a check to avoid such issues in the future.
Complete Xcode Build Output
|
Observed the same error while building for iOS. Turns out you cannot use Sentry and Sentry-Dynamic at the same time. Sentry and Sentry-SwiftUI works fine. |
You're right, those are the same libraries, but different linking types (static and dynamic). We will revisit the docs. Thanks for pointing this out. |
@brustolin Yes, that was the issue! Only Sentry-Dynamic worked for me on VisionOS but it does work! Thank you! 🙏 |
@longda Thanks for the reply. |
Platform
visionOS
Environment
Production
Installed
Swift Package Manager
Version
8.33.0
Xcode Version
15.4
Did it work on previous versions?
Unknown, first install
Steps to Reproduce
Expected Result
After install of sentry-cocoa package project should build cleanly.
Actual Result
Three errors appear:
Screenshot (product + project names redacted):
Did not see any related solutions at: https://docs.sentry.io/platforms/apple/guides/visionos/troubleshooting/
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: