CalendarKit: Fails to build when accessed via notification content extension
New Issue Checklist
- Use the latest version of CalendarKit
- I’ve read the Contribution Guidelines
- I’ve searched for existing GitHub issues
Issue Description
I’m using a new SwiftUI app to update my existing project. The only place I use CalendarKit is in the notification content extension, which is still UIKit. I added your library via SPM and made sure to point at the master branch. I’m using the exact same code as the original version used. The only difference is that one was done via CocoaPods and this one is of course using Swift Package Manager.
As soon as I use something like TimelineView I’m getting tons of errors.
Code I’m using with CalendarKit
let timeline = TimelineView()
That line, for example, will result in these errors:
Undefined symbol: type metadata accessor for CalendarKit.TimelineView Undefined symbol: CalendarKit.TimelineView.__allocating_init() -> CalendarKit.TimelineView
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (15 by maintainers)
Yes, the issue is resolved and had nothing to do with your package.