From c973cb0e6161ce4eeb4c7227e5edc01d0780d0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20To=CC=88r?= Date: Fri, 29 Sep 2023 11:00:18 +0800 Subject: [PATCH] Hotfix to solve cocoapods issue Update to 3.4.2 --- CHANGELOG.md | 2 +- Sources/SuperwallKit/Misc/Constants.swift | 2 +- .../SuperwallKit/Misc/Data Structures/SerialTaskManager.swift | 4 ++-- SuperwallKit.podspec | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fe1dacdc..50214278b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ The changelog for `SuperwallKit`. Also see the [releases](https://github.com/superwall-me/Superwall-iOS/releases) on GitHub. -## 3.4.1 +## 3.4.2 ### Fixes diff --git a/Sources/SuperwallKit/Misc/Constants.swift b/Sources/SuperwallKit/Misc/Constants.swift index cc0eb5a81..2f7dba631 100644 --- a/Sources/SuperwallKit/Misc/Constants.swift +++ b/Sources/SuperwallKit/Misc/Constants.swift @@ -18,5 +18,5 @@ let sdkVersion = """ */ let sdkVersion = """ -3.4.1 +3.4.2 """ diff --git a/Sources/SuperwallKit/Misc/Data Structures/SerialTaskManager.swift b/Sources/SuperwallKit/Misc/Data Structures/SerialTaskManager.swift index 8991a025d..d5d189577 100644 --- a/Sources/SuperwallKit/Misc/Data Structures/SerialTaskManager.swift +++ b/Sources/SuperwallKit/Misc/Data Structures/SerialTaskManager.swift @@ -34,12 +34,12 @@ final class SerialTaskManager { return } // Check if there are tasks in the queue - if taskQueue.isEmpty { + if self.taskQueue.isEmpty { return } // Get the next task from the queue - guard let nextTask = taskQueue.dequeue() else { + guard let nextTask = self.taskQueue.dequeue() else { return } diff --git a/SuperwallKit.podspec b/SuperwallKit.podspec index 8d9ce1deb..a74d39f50 100644 --- a/SuperwallKit.podspec +++ b/SuperwallKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SuperwallKit" - s.version = "3.4.1" + s.version = "3.4.2" s.summary = "Superwall: In-App Paywalls Made Easy" s.description = "Paywall infrastructure for mobile apps :) we make things like editing your paywall and running price tests as easy as clicking a few buttons. superwall.com"