From 3ed3161fd61eac04635ad28daa5b1f8331ac25d3 Mon Sep 17 00:00:00 2001 From: Juliano Cezar Chagas Tavares Date: Wed, 23 Oct 2024 09:53:35 -0300 Subject: [PATCH 1/3] Fix cocoapod linter --- Sources/MobileSdk/Credentials.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MobileSdk/Credentials.swift b/Sources/MobileSdk/Credentials.swift index e26da22..ed84fb1 100644 --- a/Sources/MobileSdk/Credentials.swift +++ b/Sources/MobileSdk/Credentials.swift @@ -12,10 +12,10 @@ public class CredentialStore { callback: BLESessionStateDelegate, useL2CAP: Bool = true // , trustedReaders: TrustedReaders - ) async -> IsoMdlPresentation? { + ) -> IsoMdlPresentation? { if let firstMdoc = self.credentials.first(where: { $0.asMsoMdoc() != nil }) { let mdoc = firstMdoc.asMsoMdoc()! - return await IsoMdlPresentation(mdoc: MDoc(Mdoc: mdoc), + return IsoMdlPresentation(mdoc: MDoc(Mdoc: mdoc), engagement: DeviceEngagement.QRCode, callback: callback, useL2CAP: useL2CAP) From 94eec1819b877f0b8f28abb933834c00d2e82a96 Mon Sep 17 00:00:00 2001 From: Juliano Cezar Chagas Tavares Date: Wed, 23 Oct 2024 10:03:25 -0300 Subject: [PATCH 2/3] Update Contributing.md --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31c2463..e587e5e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,11 @@ During development, you can simply depend on your local instance of Once everything is complete, `mobile-sdk-rs` will need to be published as it needs to have the dynamic libraries published. +## Checking CocoaPods linter locally +The release action also releases the package on CocoaPods, and this release +has a CocoaPod code verification. You can check your changes locally by +running `pod lib lint SpruceIDMobileSdk.podspec` + ## Release 1. Ensure the dependencies rely on published versions and not commits or branches. From 110240290e209c41b54478f8e1e01bf6b4d73292 Mon Sep 17 00:00:00 2001 From: Juliano Cezar Chagas Tavares Date: Wed, 23 Oct 2024 10:03:37 -0300 Subject: [PATCH 3/3] bump package version --- SpruceIDMobileSdk.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpruceIDMobileSdk.podspec b/SpruceIDMobileSdk.podspec index ef8cc39..44daebc 100644 --- a/SpruceIDMobileSdk.podspec +++ b/SpruceIDMobileSdk.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "SpruceIDMobileSdk" - spec.version = "0.2.0" + spec.version = "0.3.0" spec.summary = "Swift Mobile SDK." spec.description = <<-DESC SpruceID Swift Mobile SDK.