iOS: build the sideload IPA in Release, not Debug (#53)#65
Merged
Conversation
The prebuilt unsigned .ipa failed to sideload — 'Unable to Install NOOP: this app cannot be installed because its integrity could not be verified' — in KravaSign with either a dev or distribution cert. The reporter's own build sideloaded fine; the only material difference was the build configuration: our CI built -configuration Debug, theirs was Release. A Debug build carries get-task-allow + debug artifacts that a re-signed sideload install rejects on modern iOS; Release (the correct config for a distributed app) installs clean. Switch both the release and testing iOS builds to -configuration Release, and read the .app from Release-iphoneos accordingly. The watch strip is unchanged (it's for AltStore/free-Apple-ID users who can't sign the embedded watch — not the cause here; the reporter's watch-intact Release build installed fine). Fixes #53.
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.
Problem
The prebuilt unsigned
.ipafails to sideload — "Unable to Install NOOP: this app cannot be installed because its integrity could not be verified" — in KravaSign with either a dev or distribution cert (#53).Diagnosis
The reporter's own build sideloaded fine. The only material difference: our CI built
-configuration Debug, theirs was Release. A Debug build carriesget-task-allow+ debug artifacts that a re-signed sideload install rejects on modern iOS; Release (the correct config for a distributed app) installs clean.Checked and ruled out the reporter's other guess (the watch strip): the phone
Info.plisthas no watch reference, sorm -rf Watchleaves nothing dangling — and the reporter's working build had the watch intact, so it isn't the cause. Watch strip left unchanged (it's for AltStore / free-Apple-ID users who can't sign the embedded watch).Fix
Both the release and testing iOS builds now use
-configuration Release(and read the.appfromRelease-iphoneos). No other change.Verification
testing-latestprerelease for the reporter to confirm the sideload actually installs.Fixes #53.