-
Notifications
You must be signed in to change notification settings - Fork 134
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
DatadogObjC target is broken in SPM with 1.3.0 dd-sdk-ios #218
Comments
xCode generated system log
|
hey @TsvetelinVladimirov 👋 thanks for reporting the issue 🙏 if you keep but on the other hand, |
hi again @TsvetelinVladimirov 👋 |
hi @TsvetelinVladimirov 👋 |
Closing the issue due to inactivity ⌛ |
The issue
I'm using SwiftUI to build the UI part of the app. With SwiftUI there is no storyboard, instead the interface builder is replaced with the so called 'preview', which renders live your view. However after integrating this SDK the preview fails to build because of an error:
@objc attribute used without importing module 'Foundation'
I will attach the entire log generated from xCode about the problem.
Additional info:
This does not block the project from building on a device. Only the 'preview' generated from SwiftUI
The app is written purely in swift.
Datadog SDK version:
Integrated version 1.3.0 of dd-sdk-ios in a project using the swiftUI "preview" xCode.
Last working Datadog SDK version:
I don't know, never used it before. Probably never worked as swiftUI is relatively new.
Dependency Manager:
Used swift package manager to add the library
Other toolset:
No, nothing.
Xcode version:
xCode Version 11.6 (11E708)
Swift version:
Swift v. 5.2
Deployment Target:
iOS 13.0, iPhone
macOS version:
macOS Catalina 10.15.6
The text was updated successfully, but these errors were encountered: