From 37b3a62833241e95b59ea5a04cc7d7372866c2cd Mon Sep 17 00:00:00 2001
From: Ian Lavery <ian@picovoice.ai>
Date: Wed, 25 Oct 2023 13:47:49 -0700
Subject: [PATCH] podfiles

---
 binding/ios/PorcupineAppTest/Podfile      | 6 +++---
 binding/ios/PorcupineAppTest/Podfile.lock | 9 +++------
 demo/ios/BackgroundService/Podfile        | 2 +-
 demo/ios/BackgroundService/Podfile.lock   | 9 +++------
 demo/ios/ForegroundApp/Podfile            | 2 +-
 demo/ios/ForegroundApp/Podfile.lock       | 9 +++------
 6 files changed, 14 insertions(+), 23 deletions(-)

diff --git a/binding/ios/PorcupineAppTest/Podfile b/binding/ios/PorcupineAppTest/Podfile
index d5031ddb4..3aaad939f 100644
--- a/binding/ios/PorcupineAppTest/Podfile
+++ b/binding/ios/PorcupineAppTest/Podfile
@@ -2,13 +2,13 @@ source 'https://cdn.cocoapods.org/'
 platform :ios, '11.0'
 
 target 'PorcupineAppTest' do
-  pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec'
+  pod 'Porcupine-iOS', '~> 3.0.0'
 end
 
 target 'PorcupineAppTestUITests' do
-  pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec'
+  pod 'Porcupine-iOS', '~> 3.0.0'
 end
 
 target 'PerformanceTest' do
-  pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec'
+  pod 'Porcupine-iOS', '~> 3.0.0'
 end
diff --git a/binding/ios/PorcupineAppTest/Podfile.lock b/binding/ios/PorcupineAppTest/Podfile.lock
index dd845a779..711ba7c28 100644
--- a/binding/ios/PorcupineAppTest/Podfile.lock
+++ b/binding/ios/PorcupineAppTest/Podfile.lock
@@ -4,20 +4,17 @@ PODS:
     - ios-voice-processor (~> 1.1.0)
 
 DEPENDENCIES:
-  - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`)
+  - Porcupine-iOS (~> 3.0.0)
 
 SPEC REPOS:
   trunk:
     - ios-voice-processor
-
-EXTERNAL SOURCES:
-  Porcupine-iOS:
-    :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec
+    - Porcupine-iOS
 
 SPEC CHECKSUMS:
   ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
   Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c
 
-PODFILE CHECKSUM: 4e2440b0a9b9a657965228270be1cb09c2af359b
+PODFILE CHECKSUM: ac449719dbcf3e94ce5279a70c20ebfa34af6b80
 
 COCOAPODS: 1.11.3
diff --git a/demo/ios/BackgroundService/Podfile b/demo/ios/BackgroundService/Podfile
index 71339c596..e7470b71f 100644
--- a/demo/ios/BackgroundService/Podfile
+++ b/demo/ios/BackgroundService/Podfile
@@ -2,6 +2,6 @@ source 'https://cdn.cocoapods.org/'
 platform :ios, '11.0'
 
 target 'PorcupineBackgroundServiceDemo' do
-    pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec'
+    pod 'Porcupine-iOS', '~> 3.0.0'
     pod 'SwiftySound'
 end
diff --git a/demo/ios/BackgroundService/Podfile.lock b/demo/ios/BackgroundService/Podfile.lock
index ceb261465..d73306653 100644
--- a/demo/ios/BackgroundService/Podfile.lock
+++ b/demo/ios/BackgroundService/Podfile.lock
@@ -5,23 +5,20 @@ PODS:
   - SwiftySound (1.2.0)
 
 DEPENDENCIES:
-  - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`)
+  - Porcupine-iOS (~> 3.0.0)
   - SwiftySound
 
 SPEC REPOS:
   trunk:
     - ios-voice-processor
+    - Porcupine-iOS
     - SwiftySound
 
-EXTERNAL SOURCES:
-  Porcupine-iOS:
-    :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec
-
 SPEC CHECKSUMS:
   ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
   Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c
   SwiftySound: 9eb28bb14edb601b40027e44319e0ef8383f88bf
 
-PODFILE CHECKSUM: 66358d4475b977f7d44b07c144977820d0a8937c
+PODFILE CHECKSUM: 7ec128fd367f2a7b4d5df8940ec2a1a041ef18bf
 
 COCOAPODS: 1.11.3
diff --git a/demo/ios/ForegroundApp/Podfile b/demo/ios/ForegroundApp/Podfile
index 5653b44c4..ab5485396 100644
--- a/demo/ios/ForegroundApp/Podfile
+++ b/demo/ios/ForegroundApp/Podfile
@@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/'
 platform :ios, '11.0'
 
 target 'PorcupineForegroundAppDemo' do
-    pod 'Porcupine-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec'
+    pod 'Porcupine-iOS', '~> 3.0.0'
 end
diff --git a/demo/ios/ForegroundApp/Podfile.lock b/demo/ios/ForegroundApp/Podfile.lock
index 5cbebd11f..8448b44cf 100644
--- a/demo/ios/ForegroundApp/Podfile.lock
+++ b/demo/ios/ForegroundApp/Podfile.lock
@@ -4,20 +4,17 @@ PODS:
     - ios-voice-processor (~> 1.1.0)
 
 DEPENDENCIES:
-  - Porcupine-iOS (from `https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec`)
+  - Porcupine-iOS (~> 3.0.0)
 
 SPEC REPOS:
   trunk:
     - ios-voice-processor
-
-EXTERNAL SOURCES:
-  Porcupine-iOS:
-    :podspec: https://raw.githubusercontent.com/Picovoice/porcupine/v3.0/binding/ios/Porcupine-iOS.podspec
+    - Porcupine-iOS
 
 SPEC CHECKSUMS:
   ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
   Porcupine-iOS: 517158e02ac294dda15b713a3c6f74a9e877090c
 
-PODFILE CHECKSUM: e1abfaa88cd601a10a79119174d68f6851d03a05
+PODFILE CHECKSUM: e5e4655fad0c9c0fe14c2c6af9e326a6040f918f
 
 COCOAPODS: 1.11.3