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.5k stars 1.1k forks source link

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

Open kdvmgn opened 8 months ago

kdvmgn commented 8 months 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 5 months ago

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

cendolinside123 commented 5 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 3 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 3 months ago

Any updates?

WGMB commented 3 months ago

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

caosuyang commented 3 months ago

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

caosuyang commented 3 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