Repository navigation
Conversation
This was referenced Oct 27, 2026
…the executable carries the entitlements The Xcode build phase already takes DM_COPY_ROMFS=NO (the app then reads Documents/romfs.img, scripts/push_romfs.sh); the unsigned IPA now takes it too, so a large game's package stays within what iOS extracts. The default is unchanged. An unsigned build has no signature for a sideloader to read entitlements from, so the Increased Memory Limit request was lost. The executable now gets an ad-hoc signature with the entitlements (DM_ENTITLEMENTS as for the Xcode project).
seedds
added a commit
that referenced
this pull request
Oct 28, 2026
Apply DM_COPY_ROMFS=NO to unsigned IPA packing as well as the Xcode resource phase. Keep add-on content bundled. Carry the requested entitlements in an ad-hoc executable signature for the sideloader to read; an empty DM_ENTITLEMENTS opts out. Validated 43 focused iOS packing, Xcode workflow, documentation and environment tests. No on-device install or startup claim. Co-authored-by: v0lumehi <[email protected]>
Owner
|
Taken into
On-device sideloader entitlement preservation is not claimed. Closing as integrated; #493 supplies the supported NSP-script route and startup identity check. |
Know-It-All-Brother
pushed a commit
to Know-It-All-Brother/nxnative
that referenced
this pull request
Nov 9, 2026
…#478) Apply DM_COPY_ROMFS=NO to unsigned IPA packing as well as the Xcode resource phase. Keep add-on content bundled. Carry the requested entitlements in an ad-hoc executable signature for the sideloader to read; an empty DM_ENTITLEMENTS opts out. Validated 43 focused iOS packing, Xcode workflow, documentation and environment tests. No on-device install or startup claim. Co-authored-by: v0lumehi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
NX2Apple carries this as a patch (
patch_build_ipa); part of #388 (fewer patches for forks).build_ipa.shtakesDM_COPY_ROMFS=NO, the switch the Xcode build phase (stage_resources.sh) already has: the RomFS stays out of the unsigned IPA. A large game's full package can exceed what iOS extracts; the app then takesDocuments/romfs.img(scripts/push_romfs.sh,main.m). Default unchanged: the docs treat the separate image as the "Quick reinstalls" option, not the normal route. Add-on content stays in the IPA (main.monly looks for<App>/aoc).CODE_SIGNING_ALLOWED=NO) has no signature, and only the Xcode path wrote entitlements. The executable now getscodesign --sign - --entitlements(DM_ENTITLEMENTSas for the Xcode project: default Increased Memory Limit, empty = none)._CodeSignatureis not packed, the executable's embedded signature is what a sideloader reads. Only the executable is signed (no hashing of resources packed from elsewhere).Checked
dm/ios/tests/test_ipa_unsigned.py(new: default packs RomFS and aoc/,DM_COPY_ROMFS=NOleaves RomFS out, entitlements read back withcodesign -d --entitlements -from a stand-in executable, none with emptyDM_ENTITLEMENTS),test_profile_pack,test_xcode_workflow,test_pack_ipa,test_docs,test_env_switches; lint ratchet: 0 new.Docs
docs/development.md(Quick reinstalls),docs/env_switches.tsv