René's URL Explorer Experiment


Title: Allow static, non-framework iOS builds · Issue #156109 · python/cpython · GitHub

Open Graph Title: Allow static, non-framework iOS builds · Issue #156109 · python/cpython

X Title: Allow static, non-framework iOS builds · Issue #156109 · python/cpython

Description: Feature or enhancement Proposal: configure refuses any iOS build that is not a framework build, in both the explicit and the default path: configure.ac:582 iOS) AC_MSG_ERROR([iOS builds must use --enable-framework]) ;; # --disable-framew...

Open Graph Description: Feature or enhancement Proposal: configure refuses any iOS build that is not a framework build, in both the explicit and the default path: configure.ac:582 iOS) AC_MSG_ERROR([iOS builds must use --...

X Description: Feature or enhancement Proposal: configure refuses any iOS build that is not a framework build, in both the explicit and the default path: configure.ac:582 iOS) AC_MSG_ERROR([iOS builds must use --...

Opengraph URL: https://github.com/python/cpython/issues/156109

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow static, non-framework iOS builds","articleBody":"# Feature or enhancement\n\n### Proposal:\n\n`configure` refuses any iOS build that is not a framework build, in both the explicit and the default path:\n\n```\nconfigure.ac:582   iOS) AC_MSG_ERROR([iOS builds must use --enable-framework]) ;;   # --disable-framework\nconfigure.ac:692   iOS) AC_MSG_ERROR([iOS builds must use --enable-framework]) ;;   # no framework option given\n```\n\nThe requirement is sound for a *shared* Python: an iOS app can only load a signed framework, never a bare dylib, so a dynamically loaded libpython has to be packaged as one. It does not hold for a *static* one. A `--disable-shared` build produces `libpython3.x.a`, which is linked into the app binary and loads nothing at runtime, so there is no framework to sign, package or load — but `configure` rejects that configuration before it can be attempted.\n\nThis matters for embedders, which link libpython statically into a single signed executable. Today they have to either patch `configure` locally or give up `sys.platform == \"ios\"` and cross-build as `Darwin`, which misreports the platform to the stdlib.\n\nTwo other places assume the framework exists whenever `ac_sys_system` is iOS:\n\n```\nconfigure.ac:3838  LINKFORSHARED=\"… $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)\"\nconfigure.ac:6767  MODULE_DEPS_SHARED=\"… $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)\"\n```\n\nThe Darwin arm immediately above the first one already guards the identical append with `if test \"$enable_framework\"`; the iOS arm does it unconditionally.\n\nSuggested shape, keeping the change conservative:\n\n- refuse only the combination that genuinely cannot work — a shared build with no framework — checked once `PY_ENABLE_SHARED` is known;\n- gate the two framework appends on `enable_framework`, matching the Darwin arm;\n- leave the default path (no framework option at all) erroring, so a non-framework build stays an explicit opt-in, with the message naming `--disable-framework`.\n\nI have this working against `main` and will open a PR. Verified locally on macOS/arm64:\n\n- `--host=arm64-apple-ios12.0 --disable-shared --disable-framework` configures and `make libpython3.16.a` succeeds, producing an arm64 archive with `LC_BUILD_VERSION platform 2, minos 12.0`;\n- `--disable-framework --enable-shared` is rejected with the new message;\n- no framework option is still rejected;\n- `--enable-framework` produces a byte-identical `Makefile` and `pyconfig.h` to unpatched `main`, so the supported framework build is unaffected.\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-156110\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/clementperon","@type":"Person","name":"clementperon"},"datePublished":"2026-08-20T13:31:51Z","url":"https://github.com/python/cpython/issues/156109"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ba133163-bb82-ec7c-cc32-ed3d6460b9f9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE42:19AA62:389912B:47D98C4:6B01F24F
html-safe-nonceb1bb55fb50cca57c14b234d8ea8f77948b3f151f1f740bc5231190b68e5e7b30
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTQyOjE5QUE2MjozODk5MTJCOjQ3RDk4QzQ6NkIwMUYyNEYiLCJ2aXNpdG9yX2lkIjoiMjAyNzIyNjA2NDQ1MDg3NTk4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd7d207f935b7517c392fa891e11a69e1cc5ea8808226054af9d7b7c6bdaad19f
hovercard-subject-tagissue:5203958206
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/156109/issue_layout
twitter:imagehttps://opengraph.githubassets.com/53c74483798a855652068e2ec48c54327f9cb48ffdce6dd230498e23690eecbe/python/cpython/issues/156109
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53c74483798a855652068e2ec48c54327f9cb48ffdce6dd230498e23690eecbe/python/cpython/issues/156109
og:image:altFeature or enhancement Proposal: configure refuses any iOS build that is not a framework build, in both the explicit and the default path: configure.ac:582 iOS) AC_MSG_ERROR([iOS builds must use --...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameclementperon
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/156109#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F156109
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F156109
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/156109
Reloadhttps://github.com/python/cpython/issues/156109
Reloadhttps://github.com/python/cpython/issues/156109
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/156109
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/156109
Allow static, non-framework iOS buildshttps://github.com/python/cpython/issues/156109#top
OS-ioshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-ios%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/clementperon
clementperonhttps://github.com/clementperon
on Aug 20, 2026https://github.com/python/cpython/issues/156109#issue-5203958206
gh-156109: Allow static, non-framework iOS builds #156110https://github.com/python/cpython/pull/156110
aiskhttps://github.com/aisk
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
OS-ioshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-ios%22
on Aug 20, 2026https://github.com/python/cpython/issues/156109#event-29753197090
clementperonhttps://github.com/clementperon
on Aug 23, 2026https://github.com/python/cpython/issues/156109#event-29879271708
pythongh-156109: Make non-framework iOS builds self-consistenthttps://github.com/clementperon/cpython/commit/bb307228db0c6dea93ca435be8910a8c437ac9b8
pythongh-156109https://github.com/python/cpython/issues/156109
bb30722https://github.com/clementperon/cpython/commit/bb307228db0c6dea93ca435be8910a8c437ac9b8
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/80fe693efcbfb811fb9e7ff314e27589a7cc4cad
pythongh-156109https://github.com/python/cpython/issues/156109
80fe693https://github.com/clementperon/cpython/commit/80fe693efcbfb811fb9e7ff314e27589a7cc4cad
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/d89c67269f41e8192058903a600bcb3b524a70a9
pythongh-156109https://github.com/python/cpython/issues/156109
d89c672https://github.com/clementperon/cpython/commit/d89c67269f41e8192058903a600bcb3b524a70a9
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/14b7fc3882ef7b979f0548870a1edb7eeba297c0
pythongh-156109https://github.com/python/cpython/issues/156109
14b7fc3https://github.com/clementperon/cpython/commit/14b7fc3882ef7b979f0548870a1edb7eeba297c0
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/1c88b0dceb57b14a8c6ec315e55fb5af14f6874e
pythongh-156109https://github.com/python/cpython/issues/156109
1c88b0dhttps://github.com/clementperon/cpython/commit/1c88b0dceb57b14a8c6ec315e55fb5af14f6874e
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/87205e3402a3e07d39b3d44c853ea7055a7f6170
pythongh-156109https://github.com/python/cpython/issues/156109
87205e3https://github.com/clementperon/cpython/commit/87205e3402a3e07d39b3d44c853ea7055a7f6170
pythongh-156109: Allow static, non-framework iOS buildshttps://github.com/clementperon/cpython/commit/abfa4b27502e7310167a46d68b18aeb7f4465bc8
pythongh-156109https://github.com/python/cpython/issues/156109
abfa4b2https://github.com/clementperon/cpython/commit/abfa4b27502e7310167a46d68b18aeb7f4465bc8
freakboy3742https://github.com/freakboy3742
on Sep 8, 2026https://github.com/python/cpython/issues/156109#event-30738303230
gh-156109: Allow static, non-framework iOS builds (#156110)https://github.com/python/cpython/commit/465b3b80f98e0b1b3c116cab6f00cb9f4311c3cf
gh-156109https://github.com/python/cpython/issues/156109
#156110https://github.com/python/cpython/pull/156110
465b3b8https://github.com/python/cpython/commit/465b3b80f98e0b1b3c116cab6f00cb9f4311c3cf
maurycyhttps://github.com/maurycy
on Sep 10, 2026https://github.com/python/cpython/issues/156109#event-30913520588
Merge branch 'main' into tachyon-native-callablehttps://github.com/maurycy/cpython/commit/e028ff54dbf50b4ed3a72a6ec9d41eb721eb66b2
e028ff5https://github.com/maurycy/cpython/commit/e028ff54dbf50b4ed3a72a6ec9d41eb721eb66b2
clin1234https://github.com/clin1234
on Sep 12, 2026https://github.com/python/cpython/issues/156109#event-31023919452
pythongh-156109: Allow static, non-framework iOS builds (python#156110)https://github.com/clin1234/cpython/commit/454508c830c7d33a983b6535d8c92a1027ffef0f
pythongh-156109https://github.com/python/cpython/issues/156109
python#156110https://github.com/python/cpython/pull/156110
454508chttps://github.com/clin1234/cpython/commit/454508c830c7d33a983b6535d8c92a1027ffef0f
johnslavikhttps://github.com/johnslavik
on Sep 14, 2026https://github.com/python/cpython/issues/156109#event-31099050781
pythongh-156109: Allow static, non-framework iOS builds (python#156110)https://github.com/johnslavik/cpython/commit/e61dffe3c80a1c165d3e2e1743d43b5cd8200ccd
pythongh-156109https://github.com/python/cpython/issues/156109
python#156110https://github.com/python/cpython/pull/156110
e61dffehttps://github.com/johnslavik/cpython/commit/e61dffe3c80a1c165d3e2e1743d43b5cd8200ccd
hugovkhttps://github.com/hugovk
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 11, 2026https://github.com/python/cpython/issues/156109#event-32976496495
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/156109
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/156109
OS-ioshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-ios%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.