Add post-processing for .xcprivacy files and a required cryptography declaration #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refs beeware/Python-Apple-support#268.
As of April 2025, Apple has started flagging certain third-party SDKs as "privacy sensitive". This PR allows a package that provides a binary module to also provide a
.xcprivacy
file, which will be included in the Framework generated for the binary module.See beeware/Python-Apple-support#285 for the change adding the required
.xcprivacy
files to the support package.Submitting an app to the App Store also now requires a metadata declaration that the app doesn't use "non-exempt Encryption". This adds the required key to the Info.plist file.
Lastly, if frameworks don't provide
.dSYM
data, a warning is raised during archival for App Store submission. This PR adds post-processing so that if a binary module provides a.dSYM
folder adjacent to the.so
, it will be copied into the app bundle.Currently submitted as a draft awaiting confirmation that this actually satisfies Apple's review requirements. It has passed initial automated reviews.An app using these changes has been accepted by the App Store.PR Checklist: