8000 Stabilize Product Reference UUIDs. by sebastianv1 · Pull Request #8845 · CocoaPods/CocoaPods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stabilize Product Reference UUIDs. #8845

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

Conversation

sebastianv1
Copy link
Collaborator

In addition to PBXNativeTarget UUIDs being referenced via remoteGlobalIDString from other projects, so can the PBXFileReference that points to the binaries under the Products group. If these UUIDs are not deterministic, then during incremental installation, the UUID for the file reference that pointed to the binary can be changed, resulting in parent project crashing because its remoteGlobalIDString might end up pointing to a different object entirely.

@dnkoutso dnkoutso added this to the 1.7.1 milestone May 24, 2019
@sebastianv1 sebastianv1 marked this pull request as ready for review May 24, 2019 21:03
@dnkoutso
Copy link
Contributor

Needs CHANGELOG entry

In addition to `PBXNativeTarget` UUIDs being referenced via `remoteGlobalIDString` from other projects, so can the `PBXFileReference` that points to the binaries under the `Products` group. If these UUIDs are not deterministic, then during incremental installation, the UUID for the file reference that pointed to the binary can be changed, resulting in parent project crashing because its `remoteGlobalIDString` might end up pointing to a different object entirely.
@sebastianv1 sebastianv1 force-pushed the sebastianv1/stabilize-framework-uuids branch from 4651f62 to b011118 Compare May 24, 2019 21:28
@dnkoutso dnkoutso requested a review from segiddins May 24, 2019 21:31
8000
end

it 'generates stable UUIDs for native targets and its product references' do
Digest::MD5.stubs(:hexdigest).returns('CLEANSOAP')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: stub with the actual strings passed into hexdigest?

@dnkoutso dnkoutso merged commit bf70de9 into CocoaPods:1-7-stable May 25, 2019
@dnkoutso dnkoutso deleted the sebastianv1/stabilize-framework-uuids branch May 25, 2019 00:37
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.

3 participants
0