hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 187 forks source link

[FR]: Support for Apple Privacy Info Manifest-Files #175

Closed faken closed 4 months ago

faken commented 7 months ago

Apple will enforce the requirement for a privacy info manifest file for all third party libraries this year. More information can be looked up here: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files The library needs to be updated to include a privacy info manifest-file

observableobject commented 5 months ago

@hmlongco any update on this? it should be quite easy to generate.

hmlongco commented 5 months ago

I'll probably just borrow the one from Factory. But keep in mind the notice at the top of the README file...

Note: Later in 2023 Resolver will be deprecated and replaced by my new dependency injection system, Factory. Factory 2.0 is a true container-based dependency injection system that's compile-time safe and is smaller, lighter, and faster than Resolver. As good as Resolver is, Factory is better.

dotswift commented 4 months ago

Glad to hear this @hmlongco , really appreciate all the work on Resolver.

I'll be migrating to Factory, but this manifest will be clutch in the meantime.

🫡

amarkotic commented 4 months ago

@hmlongco will privacy manifest be generated for Resolver at all?

hmlongco commented 4 months ago

Pushed 1.5.1.

evilutioner commented 4 months ago

Privacy manifest integration should be by itegrate as resource_bundles. This way of integrations cause the conflict with projects PrivacyInfo file.