Title: gh-141692: Add a slice-specific lib folder to iOS XCframeworks. by freakboy3742 · Pull Request #141693 · python/cpython · GitHub
Open Graph Title: gh-141692: Add a slice-specific lib folder to iOS XCframeworks. by freakboy3742 · Pull Request #141693 · python/cpython
X Title: gh-141692: Add a slice-specific lib folder to iOS XCframeworks. by freakboy3742 · Pull Request #141693 · python/cpython
Description: Adds a lib folder to each slice of an iOS XCframework that contains a libpython*.dylib symlink to the underlying Framework dylib. This mirrors the structure of macOS frameworks, allowing iOS binary modules to be compiled with -L path/to/python/lib -lpython, rather than requiring -F path/to/Framework -framework Python. This increases compatibility with standard Unix tooling for building binary modules. The libpython*.dylib must be explicitly excluded from being copied into the architecture-specific library folders, so that the dylib (or a symlink) won't be copied into the app binary. The final structure of a full XCframework will look something like: Python.xcframework lib cross-platform copy of the standard libray ios-arm64 include lib libpython.dylib - link to ../Python.framework/Python lib-arm64 arm64 device-specific standard library parts (sysconfig, build-details.json etc) Python.framework ios-arm64_x86_64-simulator include lib libpython.dylib - link to ../Python.framework/Python lib-arm64 arm64 simulator-specific standard library parts (sysconfig, build-details.json etc) lib-x86_64 x86_64 simulator-specific standard library parts (sysconfig, build-details.json etc) Python.framework Issue: gh-141692
Open Graph Description: Adds a lib folder to each slice of an iOS XCframework that contains a libpython*.dylib symlink to the underlying Framework dylib. This mirrors the structure of macOS frameworks, allowing iOS binary...
X Description: Adds a lib folder to each slice of an iOS XCframework that contains a libpython*.dylib symlink to the underlying Framework dylib. This mirrors the structure of macOS frameworks, allowing iOS binary...
Opengraph URL: https://github.com/python/cpython/pull/141693
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9c39a467-5d1e-5e26-cc57-ae136e28cc60 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B442:39E76C:3AC10C:513BAF:6A537542 |
| html-safe-nonce | 722365adfd8bf1acf29d266f3407378a712e8116af02ba58b2cdb9b68d3ac40d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDQyOjM5RTc2QzozQUMxMEM6NTEzQkFGOjZBNTM3NTQyIiwidmlzaXRvcl9pZCI6IjE5NTI2OTMyMTYzMjQzMTg1MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | daec498d81f779e9c107e0fd4d7d0d0086784d71f6b3d3eb0b3417e00e2393bf |
| hovercard-subject-tag | pull_request:3020151546 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/141693/files |
| twitter:image | https://avatars.githubusercontent.com/u/37345?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/37345?s=400&v=4 |
| og:image:alt | Adds a lib folder to each slice of an iOS XCframework that contains a libpython*.dylib symlink to the underlying Framework dylib. This mirrors the structure of macOS frameworks, allowing iOS binary... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width