-
Notifications
You must be signed in to change notification settings - Fork 39
feat(PBXFileReference): support XCFramework expectedSignature property #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(PBXFileReference): support XCFramework expectedSignature property #156
Conversation
| return .framework(path: path, status: status, condition: condition) | ||
| case .xcframework: | ||
| return .xcframework(path: path, status: status, condition: condition) | ||
| // TODO: throw some error? log warning? this is very general, but from what I can tell it's only called from a non-xcframework contexts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT? Not sure how to treat this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this utility is being used from here where we can access the file reference through the build file, wouldn't we have the information that we need to set the right value here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this seems OK now, there were some changes here following the review on tuist/tuist, and it makes sense now
From what I can tell, the path dependency mapper is used here (frameworks, no signature is required) and here (signature propagated, as expected)
So probably just need to remove the TODO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
c367a1d to
5da3a82
Compare
|
Fixed & squashed the fixes into one commit |
Let's then wait until |
5da3a82 to
67d8b0c
Compare
|
Pushed the following change (and only this): |
ab00ad3 to
d609f81
Compare
d609f81 to
2fae634
Compare
|
Pushed the following change (and only this): |
2fae634 to
b1094a9
Compare
Support XCFrameworks expectedSignature property, and add the expected expectedSignature to the target dependency, to be verified against the actual signature.
5ce3dd5 to
f703041
Compare
Support XCFrameworks expectedSignature property, and add the expected expectedSignature to the target dependency, to be verified against the actual signature.
More about XCFramework's siganture:
https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks