-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
What's the problem this feature will solve?
PEP 730 added iOS as a supported platform. It would be desirable to be able to install third-party binary packages into iOS installs.
Describe the solution you'd like
pip
probably won't ever be run on an iOS device to install binary packages, as this would violate Apple's app distribution rules (and would be difficult to accomodate with iOS binary signing requirements). However, it should be possible to install an iOS binary package using pip install --platform ios_13_0_arm64_iphoneos mypackage
(or similar)
Alternative Solutions
Briefcase currently has a workaround that involves using a sitecustomize.py
script to mock being on iOS for the purpose of running pip. This works, but can only support a single binary tag. iOS support includes the minimum supported iOS version as part of the tag, and older compatible versions should be considered as part of a match.
Additional context
See PEP 730 for details of iOS package tagging.
Code of Conduct
- I agree to follow the PSF Code of Conduct.