aries-framework-swift icon indicating copy to clipboard operation
aries-framework-swift copied to clipboard

bump up peerdid-swift

Open kukgini opened this issue 1 year ago • 2 comments

bump up peerdid-swift version to 3.0.3 to avoid build issue.

kukgini avatar Nov 06 '24 01:11 kukgini

Can you elaborate on the build issue? Is it due to the Xcode upgrade?

conanoc avatar Nov 07 '24 04:11 conanoc

In the peerdid-swift version 3.0.0, the dependency on coredid-swift was from 2.0.0 to the next major.

However, coredid-swift changed an attribute name of a struct exposed as public in the 2.0.2 release. Specifically, DIDDocument.verificationMethods was changed to DIDDocument.verificationMethod. I believe this was done for aligning with the W3C standard. And, the peerdid-swift 3.0.0 already changed it's name to the new one (a.k.a. verficationMethod).

As a result, in an environment where package resolve was already at 2.0.1, the build could fail due to an attribute name mismatch. I submitted a PR to address this and it was included in 3.0.3. see: https://github.com/beatt83/peerdid-swift/pull/13

kukgini avatar Nov 08 '24 03:11 kukgini