fix(ios): harden team-id profile fallback and tests

This commit is contained in:
Peter Steinberger
2026-02-24 14:20:37 +00:00
parent 73f526f025
commit fd07861bc3
3 changed files with 200 additions and 1 deletions

View File

@@ -94,7 +94,10 @@ load_teams_from_xcode_managed_profiles() {
| /usr/bin/python3 -c '
import plistlib, sys
try:
d = plistlib.load(sys.stdin.buffer)
raw = sys.stdin.buffer.read()
if not raw:
raise SystemExit(0)
d = plistlib.loads(raw)
for tid in d.get("TeamIdentifier", []):
print(tid)
except Exception: