Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.62k stars 1.12k forks source link

Apple's update to their API policy - Required Reason in Privacy manifest #551

Open kdvmgn opened 1 year ago

kdvmgn commented 1 year ago

Describe the feature or problem you’d like to solve

From Fall 2023 Apple starts rolling out new privacy requirements, The apps and third-party SDKs should contain a privacy manifest file when they access required reason API. SkeletonView SDK uses UserDefaults which is required description of use in PrivacyManifest. Otherwise, apps that don’t describe their use of required reason API in their privacy manifest file won’t be accepted by App Store Connect. Here is a link to the [Apple documentation].(https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api).

Proposed solution

Add a PrivacyInfo.xcprivacy file and the following information to the Privacy Accessed API Types section

Additional context

Apple documentation

mayios commented 10 months ago

Even though I updated to 1.30.4, there is no privacyinfo file inside. What should I do?

cendolinside123 commented 10 months ago

@Juanpe please add this configuration on .podspec file

s.ios.resource_bundles = {'SkeletonView' => ['SkeletonViewCore/Sources/Suporting Files/PrivacyInfo.xcprivacy']}

and make update for cocoapod

macdrevx commented 8 months ago

Apple announced that they'll start enforcing these new requirements on May 1. Would love to see a release with these changes soon to allow time to update, test, etc.

ASWalnut commented 8 months ago

Any updates?

WGMB commented 8 months ago

Hi, please create new release version with the latest changes and a Cocoapods release as well.

caosuyang commented 8 months ago

The PrivacyInfo.xcprivacy file was not found in the pod update library.

caosuyang commented 8 months ago
  1. I found that the PrivacyInfo.xcprivacy file was only found in the main branch. I hope it can be updated to the tag branch in time later.
  2. s.source_files = "SkeletonViewCore/Sources/*/.{swift,h}" in the SkeletonView.podspec file, resulting in the pod install library not containing the PrivacyInfo.xcprivacy file. I think this is an issue