I implemented an app in SwiftUI using Screen Time API, which can show apps usage duration from Device Activity Report Extension. Device Activity Report Extension is a separate target.
Now I want to save those data into CoreData from Device Activity Report Extension and fetch that from my main app target. How can I Achieve that ?