Nested frameworks#539
Closed
dvc94ch wants to merge 1 commit into
Closed
Conversation
indygreg
requested changes
Apr 2, 2022
indygreg
left a comment
Owner
There was a problem hiding this comment.
The break -> continue fixes a logic bug.
But the framework plist change is not correct: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html says that frameworks must have a Resources directory and the Info.plist is within that.
There are a few other reasons frameworks aren't currently signing correctly:
- Each directory under
Versions/needs to be signed as of it is its own bundle. - The code directory in frameworks appears to be using SHA-1 and an alternate code directory slot is used to record the SHA-256 digests. Why things are this way, I do not know. I'm not sure sure if
codesigneven allows SHA-256 in the primary code directory. - Symlinks in frameworks aren't getting preserved properly.
- The top-level directory of versioned frameworks isn't getting ignored by bundle signing like it should be.
- And probably a few more things that I'm forgetting.
My goal for the weekend is to get frameworks signing correctly.
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.
fixes handling of shallow frameworks and finding more than one nested bundle. closes #538
however signing is still broken, fails
rcodesign verifyand on device verification: