Skip to content
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

SPM changes #49

Closed
pryder-fleetaero opened this issue Mar 2, 2022 · 4 comments · Fixed by #50
Closed

SPM changes #49

pryder-fleetaero opened this issue Mar 2, 2022 · 4 comments · Fixed by #50
Assignees

Comments

@pryder-fleetaero
Copy link

pryder-fleetaero commented Mar 2, 2022

I was wondering whether the tool supports resolving a merge conflict containing Swift Package Manager (SPM) conflicts? In attempting to resolve one of my conflicts it output the following:

Trying to add unsupported component type XCSwiftPackageProductDependency. Full component change is: {"displayName"=>"SnapshotTesting", "isa"=>"XCSwiftPackageProductDependency", "productName"=>"SnapshotTesting", "package"=>{"displayName"=>"https://github.com/pointfreeco/swift-snapshot-testing", "isa"=>"XCRemoteSwiftPackageReference", "repositoryURL"=>"https://github.com/pointfreeco/swift-snapshot-testing", "requirement"=>{"kind"=>"upToNextMajorVersion", "minimumVersion"=>"1.0.0"}}}

I assume this is due to a new SPM dependency having been added in one of the branches.

Cheers
Peter

@byohay
Copy link
Collaborator

byohay commented Mar 2, 2022

Thanks @pryder-fleetaero! We'll look into it

@igorkulman
Copy link

Same problem

`<PBXNativeTarget name=`ProtonVPN` UUID=`791DE5D8208DDA3000A29EA5`>` attempted to initialize an object with an unknown UUID. `F37F741A27CF7E8C00F1C621` for attribute: `package_product_dependencies`. This can be the result of a merge and the unknown UUID is being discarded.
`<PBXNativeTarget name=`ProtonVPN` UUID=`791DE5D8208DDA3000A29EA5`>` attempted to initialize an object with an unknown UUID. `F37F741A27CF7E8C00F1C621` for attribute: `package_product_dependencies`. This can be the result of a merge and the unknown UUID is being discarded.
Trying to add unsupported component type XCSwiftPackageProductDependency. Full component change is: {"displayName"=>"Search", "isa"=>"XCSwiftPackageProductDependency", "productName"=>"Search"}

Looks like as soon as there is some SPM conflict the tool fails.

@byohay
Copy link
Collaborator

byohay commented Mar 15, 2022

@igorkulman thanks! We'll release a new version that supports SPM changes soon!

@byohay byohay closed this as completed Mar 15, 2022
@byohay
Copy link
Collaborator

byohay commented Mar 15, 2022

released!

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 a pull request may close this issue.

3 participants