diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-30 01:10:34 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-30 01:10:34 (GMT) |
| commit | 0dfb437a32f9b9a8a0ae61d8c43c47417651f44e (patch) | |
| tree | f96c4e4f39667ee47696c3938870da132f875653 /Doc/using/ios.rst | |
| parent | 00b071137bbae800d6b82596f156a51287708215 (diff) | |
| download | cpython-0dfb437a32f9b9a8a0ae61d8c43c47417651f44e.zip cpython-0dfb437a32f9b9a8a0ae61d8c43c47417651f44e.tar.gz cpython-0dfb437a32f9b9a8a0ae61d8c43c47417651f44e.tar.bz2 | |
[3.13] gh-120522: Add a `--with-app-store-compliance` configure option to patch out problematic code (GH-120984) (#121173)
gh-120522: Add a `--with-app-store-compliance` configure option to patch out problematic code (GH-120984)
* Add --app-store-compliance configuration option.
* Added blurb.
* Correct tab-vs-spaces formatting issue.
* Correct source file name in docs.
* Correct source code reference in Mac docs
* Only apply the patch forward, and ensure the working directory is correct.
* Make patching reslient to multiple builds.
* Documentation fixes found during review
* Documentation and configure.ac syntax improvements
* Regenerate configure script.
* Silence the patch echo output.
---------
(cherry picked from commit 48cd104b0cf05dad8958efa9cb9666c029ef9201)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Doc/using/ios.rst')
| -rw-r--r-- | Doc/using/ios.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/using/ios.rst b/Doc/using/ios.rst index 71fc29c..774856e 100644 --- a/Doc/using/ios.rst +++ b/Doc/using/ios.rst @@ -312,3 +312,21 @@ modules in your app, some additional steps will be required: * If you're using a separate folder for third-party packages, ensure that folder is included as part of the ``PYTHONPATH`` configuration in step 10. + +App Store Compliance +==================== + +The only mechanism for distributing apps to third-party iOS devices is to +submit the app to the iOS App Store; apps submitted for distribution must pass +Apple's app review process. This process includes a set of automated validation +rules that inspect the submitted application bundle for problematic code. + +The Python standard library contains some code that is known to violate these +automated rules. While these violations appear to be false positives, Apple's +review rules cannot be challenged; so, it is necessary to modify the Python +standard library for an app to pass App Store review. + +The Python source tree contains +:source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove +all code that is known to cause issues with the App Store review process. This +patch is applied automatically when building for iOS. |
