Skip to content

feat(build_patched_ipa): --bundle-id-suffix flag - #21

Merged
tkgstrator merged 1 commit into
developfrom
feat/bundle-id-suffix-on-develop
Aug 1, 2026
Merged

feat(build_patched_ipa): --bundle-id-suffix flag#21
tkgstrator merged 1 commit into
developfrom
feat/bundle-id-suffix-on-develop

Conversation

@tkgstrator

Copy link
Copy Markdown
Contributor

Summary

  • Adds --bundle-id-suffix SUFFIX to build_patched_ipa.sh, appending .<SUFFIX> to the Info.plist CFBundleIdentifier so a patched IPA installs alongside the original app instead of overwriting it.
  • No-op when the flag is omitted, so the existing "overwrite the original" workflow is unchanged.
  • uv.lock rides along: develop bumped pyproject.toml to 0.2.0 in chore: bump version to 0.2.0 #19 without regenerating the lock.

Why not just merge feat/bundle-id-suffix?

That branch carries the same feature but forked before #17-#19, so it lacks the verify_sites overload resolution (namespace-qualified labels + parameter-type matching) and the caves.py placeholder-row support. Its consumer — KiouForge, now targeting KIOU 1.1.0 — needs both: without them 5 of 56 sites fail to resolve, and 1.1.0 has a recipe row whose method no longer exists in the build.

Rebuilding the flag on top of develop keeps the two lines from drifting further apart. feat/bundle-id-suffix can be closed once this lands.

Test plan

  • uv run pytest tests/ — 89 passed
  • bash -n tools/build_patched_ipa.sh
  • End-to-end from KiouForge against KIOU 1.1.0 and 1.0.2:
    • verify_sites — 55/55 (1.1.0) and 56/56 (1.0.2) sites verified
    • make ipa BUNDLE_ID_SUFFIX=chinlancom.neconome.shogicom.neconome.shogi.chinlan
    • make ipa with no suffix → no CFBundleIdentifier rewrite

🤖 Generated with Claude Code

Lets a patched IPA install alongside the original app instead of
overwriting it, which is what a consumer needs when it wants the
stock build and the patched build on the device at the same time.

Ported from feat/bundle-id-suffix, which branched before #17-#19 and
so never picked up the verify_sites overload resolution its consumer
now depends on. Rebuilding the flag on top of develop keeps the two
lines from drifting further apart.

uv.lock rides along: develop bumped pyproject to 0.2.0 without
regenerating the lock.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tkgstrator
tkgstrator force-pushed the feat/bundle-id-suffix-on-develop branch from eef916f to e1ebb27 Compare August 1, 2026 07:39
@tkgstrator
tkgstrator merged commit b670411 into develop Aug 1, 2026
2 checks passed
@tkgstrator
tkgstrator deleted the feat/bundle-id-suffix-on-develop branch August 1, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant