Tkinter apps can't be distributed on the macOS App Store
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
If you use tkinter in your app, and package the app for distribution in the macOS App Store, the app will be rejected with a message to the effect that:
Guideline 2.5.1 - Performance - Software Requirements
Your app uses or references the following non-public or deprecated APIs:
Contents/Frameworks/Python.framework/Versions/3.12/lib/libtk8.6.dylib
Symbols:
• _NSWindowDidOrderOnScreenNotification
The use of non-public or deprecated APIs is not permitted on the App Store, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms.
(or similar).
This appears to be a known issue in Tk.
This ticket is mostly to log the issue as something that can affect macOS users; there's not much we can do to fix it until such time as Tk fixes the problem and releases the fix in a version that Python can incorporate into a release (or, I guess, Apple changes their App Store review policies).
CPython versions tested on:
3.14, 3.13, 3.12, 3.11, 3.10, 3.9, CPython main branch
Operating systems tested on:
macOS
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
該報告沒有指出任何 CPython 檔案或測試;請先閱讀連結的 Tk issue,並比較所列 Python 版本在 macOS App Store 中遭拒的情況。只有在 Tk 修正發布並整合到 CPython 中,或 Apple 更改其審查政策後,才算完成;該 issue 表示目前沒有可用的 CPython 修正。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- macos, python
- 領域
- desktop, operating-systems
- Issue 類型
- 缺陷
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100