Fix iOS 26 app manager blank state

This commit is contained in:
admin committed 2026-11-11 15:16:54 +08:00
1 parent 53498ed08f
commit 168a89cb8a
4 files changed
+361 -15

No files matched your search

+11 -3
View File
@@ -49,9 +49,9 @@ def exclude_framework(name):
if n in ('libgdal', 'openblas', 'libgfortran', 'libproj', 'libgeos',
'libgeos_c', 'libspatialindex', 'libspatialindex_c'):
return 'Python geo/math'
# Duplicate variant frameworks (A/B/C/D/E) are runtime alternatives.
if re.search(r'(dash|perl|ssh_cmd|openrsync|xetex|luahbtex|luatex|pdftex|euptex)[A-E]$', n):
return 'duplicate variant'
# Keep the A-E variants. ios_system picks a free variant for each
# concurrent script/shell/SSH session, so stripping them breaks dash
# scripts and parallel sessions.
return None
fw_size = {}
@@ -133,6 +133,14 @@ while pending:
selected.add(d)
pending.append(d)
# ios_system appends A-E when it starts concurrent dash scripts. These
# variants are not referenced by commandDictionary.plist, so add them
# explicitly; otherwise `dash script.sh` fails to load dashA.framework.
for variant in ('dashA', 'dashB', 'dashC', 'dashD', 'dashE'):
framework = variant + '.framework'
if framework in fw_size:
selected.add(framework)
print('selected frameworks:', len(selected), 'size:', round(sum(fw_size[f] for f in selected)/1e6, 1), 'MB')
# extract frameworks