[ad_1]
I’m at the moment making a SDK that will require fetching information within the background. For an instance, as an instance that the SDK supplies some climate information that must be comparatively recent to be helpful. In some unspecified time in the future, the info is outdated and must be refreshed. The issue is, that the app could be usually utilized in locations with poor web connection, or with no web entry in any respect. This brings me to the concept that perhaps I ought to fetch the info in background, when the web is accessible.
The SDK is packaged right into a XCFramework, and distributed utilizing Swift Package deal Supervisor. Once I attempt including capabilities to my goal, Xcodes offers me a display screen that states “No matches, Capabilities aren’t supported for SDK”.
Is it even potential to make a background information fetch with out the entry to app capabilities? Or does this duty fall to the consumer app for my SDK? Sorry if the reply is apparent, I’ve tried looking on-line for a direct response to my drawback, and wasn’t capable of finding a transparent reply.
[ad_2]
