In my iOS project (Swift) which imports the Wallet library via cocoapods, the error above is triggered when I try to create a request from a verified ID client.
/// Create a verifiedIdClient.
let verifiedIdClient = VerifiedIdClientBuilder().build()
let input = VerifiedIdRequestURL(url: URL(string: "openid-vc://...")!)
let result = await verifiedIdClient.createRequest(from: input) ===> Error triggered by this.
Full error: {"error":"unsupportedAlgorithmFoundInJWK(algorithm: Optional(\"P-256\"))","message":"Unspecified Error.","code":"unspecified_error"}
Important note: This error is not triggered when I use the sample project. The sample project does not import the library via cocoapods, but rather copies all the wallet code into the project so I believe it very likely has something to do with the podspec for WalletLibrary.
In my iOS project (Swift) which imports the Wallet library via cocoapods, the error above is triggered when I try to create a request from a verified ID client.
Full error:
{"error":"unsupportedAlgorithmFoundInJWK(algorithm: Optional(\"P-256\"))","message":"Unspecified Error.","code":"unspecified_error"}
Important note: This error is not triggered when I use the sample project. The sample project does not import the library via cocoapods, but rather copies all the wallet code into the project so I believe it very likely has something to do with the podspec for WalletLibrary.
Could you please investigate?