diff --git a/binding/ios/Orca-iOS.podspec b/binding/ios/Orca-iOS.podspec index ff16a970..a3f60fa0 100644 --- a/binding/ios/Orca-iOS.podspec +++ b/binding/ios/Orca-iOS.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'Orca-iOS' s.module_name = 'Orca' - s.version = '0.2.2' + s.version = '1.0.0' s.license = {:type => 'Apache 2.0'} s.summary = 'iOS binding for Picovoice\'s Orca Text-to-Speech Engine.' s.description = @@ -18,7 +18,7 @@ Pod::Spec.new do |s| DESC s.homepage = 'https://github.com/Picovoice/orca/tree/main/binding/ios' s.author = { 'Picovoice' => 'hello@picovoice.ai' } - s.source = { :git => "https://github.com/Picovoice/orca.git", :tag => "Orca-iOS-v0.2.2" } + s.source = { :git => "https://github.com/Picovoice/orca.git", :tag => "Orca-iOS-v1.0.0" } s.ios.deployment_target = '13.0' s.swift_version = '5.0' s.vendored_frameworks = 'lib/ios/PvOrca.xcframework' diff --git a/binding/ios/OrcaAppTest/OrcaAppTestUITests/BaseTest.swift b/binding/ios/OrcaAppTest/OrcaAppTestUITests/BaseTest.swift index 4228c9fc..c625db71 100644 --- a/binding/ios/OrcaAppTest/OrcaAppTestUITests/BaseTest.swift +++ b/binding/ios/OrcaAppTest/OrcaAppTestUITests/BaseTest.swift @@ -51,7 +51,7 @@ class BaseTest: XCTestCase { "female" ] - let accessKey = "{TESTING_ACCESS_KEY_HERE}" + let accessKey = "PI5vbMlGH3K4+HgfM8hk9eIDF6i7CfZMQsn/9MmPrczi7sCfVioy6w==" var orcas: [Orca] = [] var testData: TestData? diff --git a/binding/ios/OrcaAppTest/Podfile b/binding/ios/OrcaAppTest/Podfile index 78f09ebd..1c873e9b 100644 --- a/binding/ios/OrcaAppTest/Podfile +++ b/binding/ios/OrcaAppTest/Podfile @@ -2,13 +2,13 @@ source 'https://cdn.cocoapods.org/' platform :ios, '13.0' target 'OrcaAppTest' do - pod 'Orca-iOS', '~> 0.2.2' + pod 'Orca-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec' end target 'OrcaAppTestUITests' do - pod 'Orca-iOS', '~> 0.2.2' + pod 'Orca-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec' end target 'PerformanceTest' do - pod 'Orca-iOS', '~> 0.2.2' + pod 'Orca-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec' end diff --git a/binding/ios/OrcaAppTest/Podfile.lock b/binding/ios/OrcaAppTest/Podfile.lock index bf25bff4..7b231a99 100644 --- a/binding/ios/OrcaAppTest/Podfile.lock +++ b/binding/ios/OrcaAppTest/Podfile.lock @@ -2,15 +2,15 @@ PODS: - Orca-iOS (0.2.2) DEPENDENCIES: - - Orca-iOS (~> 0.2.2) + - Orca-iOS (from `https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec`) -SPEC REPOS: - trunk: - - Orca-iOS +EXTERNAL SOURCES: + Orca-iOS: + :podspec: https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec SPEC CHECKSUMS: - Orca-iOS: 567ca0e53671d8fc28ba15338db8fe4ff5101d8d + Orca-iOS: 44c42caf866fb0cf31de77e901acb7dfc24b3d70 -PODFILE CHECKSUM: 2deb98490df78cf895d797180dcfeccea4f2ad25 +PODFILE CHECKSUM: 8574e18083e80439589d193c1a4bb539879327aa COCOAPODS: 1.15.2 diff --git a/demo/ios/OrcaDemo/OrcaDemo.xcodeproj/project.pbxproj b/demo/ios/OrcaDemo/OrcaDemo.xcodeproj/project.pbxproj index e0c91c4e..06ebfb00 100644 --- a/demo/ios/OrcaDemo/OrcaDemo.xcodeproj/project.pbxproj +++ b/demo/ios/OrcaDemo/OrcaDemo.xcodeproj/project.pbxproj @@ -13,7 +13,7 @@ 02A1195F268D3FD600A2AC99 /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02A1195E268D3FD600A2AC99 /* ViewModel.swift */; }; 1E001B682B76FFE700D8E72D /* AudioPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E001B672B76FFE700D8E72D /* AudioPlayer.swift */; }; 1E001B6A2B7D451200D8E72D /* orca_params_female.pv in Resources */ = {isa = PBXBuildFile; fileRef = 1E001B692B7D451200D8E72D /* orca_params_female.pv */; }; - 93BE66087E58F64A2193D44C /* libPods-OrcaDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6293833704AEC548A02FB651 /* libPods-OrcaDemo.a */; }; + D1F66A0EFCEE9D67CC0E5895 /* libPods-OrcaDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 60284C4EFCEDB8EA3A9AB933 /* libPods-OrcaDemo.a */; }; E125E1892BE99DCA008B6D56 /* AtomicBool.swift in Sources */ = {isa = PBXBuildFile; fileRef = E125E1882BE99DCA008B6D56 /* AtomicBool.swift */; }; E1C5A45F2BE587A2002C0C40 /* AudioPlayerStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1C5A45E2BE587A2002C0C40 /* AudioPlayerStream.swift */; }; /* End PBXBuildFile section */ @@ -25,11 +25,11 @@ 02A1194C268D39AB00A2AC99 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 02A11951268D39AB00A2AC99 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 02A1195E268D3FD600A2AC99 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = ""; }; - 1C5DAA8ED5D246C3A58AA45B /* Pods-OrcaDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OrcaDemo.release.xcconfig"; path = "Target Support Files/Pods-OrcaDemo/Pods-OrcaDemo.release.xcconfig"; sourceTree = ""; }; + 101D6E31C841CE609BC379F1 /* Pods-OrcaDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OrcaDemo.release.xcconfig"; path = "Target Support Files/Pods-OrcaDemo/Pods-OrcaDemo.release.xcconfig"; sourceTree = ""; }; 1E001B672B76FFE700D8E72D /* AudioPlayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AudioPlayer.swift; sourceTree = ""; }; 1E001B692B7D451200D8E72D /* orca_params_female.pv */ = {isa = PBXFileReference; lastKnownFileType = file; name = orca_params_female.pv; path = ../../../../lib/common/orca_params_female.pv; sourceTree = ""; }; - 3B38AA40E88807F9C21BFD02 /* Pods-OrcaDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OrcaDemo.debug.xcconfig"; path = "Target Support Files/Pods-OrcaDemo/Pods-OrcaDemo.debug.xcconfig"; sourceTree = ""; }; - 6293833704AEC548A02FB651 /* libPods-OrcaDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OrcaDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 60284C4EFCEDB8EA3A9AB933 /* libPods-OrcaDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OrcaDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 9A7670652E0B18EA21BAB871 /* Pods-OrcaDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OrcaDemo.debug.xcconfig"; path = "Target Support Files/Pods-OrcaDemo/Pods-OrcaDemo.debug.xcconfig"; sourceTree = ""; }; E125E1882BE99DCA008B6D56 /* AtomicBool.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AtomicBool.swift; sourceTree = ""; }; E1C5A45E2BE587A2002C0C40 /* AudioPlayerStream.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AudioPlayerStream.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -39,7 +39,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 93BE66087E58F64A2193D44C /* libPods-OrcaDemo.a in Frameworks */, + D1F66A0EFCEE9D67CC0E5895 /* libPods-OrcaDemo.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -52,7 +52,7 @@ 02A11947268D39A700A2AC99 /* OrcaDemo */, 02A11946268D39A700A2AC99 /* Products */, 8DB92FF3DC81AB04D3FF7242 /* Pods */, - D4BC0C682CB4645A73894BC8 /* Frameworks */, + 45CED0D4174C9AAD74F7745A /* Frameworks */, ); sourceTree = ""; }; @@ -80,21 +80,21 @@ path = OrcaDemo; sourceTree = ""; }; - 8DB92FF3DC81AB04D3FF7242 /* Pods */ = { + 45CED0D4174C9AAD74F7745A /* Frameworks */ = { isa = PBXGroup; children = ( - 3B38AA40E88807F9C21BFD02 /* Pods-OrcaDemo.debug.xcconfig */, - 1C5DAA8ED5D246C3A58AA45B /* Pods-OrcaDemo.release.xcconfig */, + 60284C4EFCEDB8EA3A9AB933 /* libPods-OrcaDemo.a */, ); - path = Pods; + name = Frameworks; sourceTree = ""; }; - D4BC0C682CB4645A73894BC8 /* Frameworks */ = { + 8DB92FF3DC81AB04D3FF7242 /* Pods */ = { isa = PBXGroup; children = ( - 6293833704AEC548A02FB651 /* libPods-OrcaDemo.a */, + 9A7670652E0B18EA21BAB871 /* Pods-OrcaDemo.debug.xcconfig */, + 101D6E31C841CE609BC379F1 /* Pods-OrcaDemo.release.xcconfig */, ); - name = Frameworks; + path = Pods; sourceTree = ""; }; /* End PBXGroup section */ @@ -104,11 +104,11 @@ isa = PBXNativeTarget; buildConfigurationList = 02A11954268D39AB00A2AC99 /* Build configuration list for PBXNativeTarget "OrcaDemo" */; buildPhases = ( - 953F197786B352AA828626D7 /* [CP] Check Pods Manifest.lock */, + 8B3F51311B11C74B18E2C8D4 /* [CP] Check Pods Manifest.lock */, 02A11941268D39A700A2AC99 /* Sources */, 02A11942268D39A700A2AC99 /* Frameworks */, 02A11943268D39A700A2AC99 /* Resources */, - C4DE16407A77E6DE174EE4DB /* [CP] Embed Pods Frameworks */, + F911F0EB5B81F9AC199AEC52 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -164,7 +164,7 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 953F197786B352AA828626D7 /* [CP] Check Pods Manifest.lock */ = { + 8B3F51311B11C74B18E2C8D4 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -186,7 +186,7 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - C4DE16407A77E6DE174EE4DB /* [CP] Embed Pods Frameworks */ = { + F911F0EB5B81F9AC199AEC52 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -340,7 +340,7 @@ }; 02A11955268D39AB00A2AC99 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B38AA40E88807F9C21BFD02 /* Pods-OrcaDemo.debug.xcconfig */; + baseConfigurationReference = 9A7670652E0B18EA21BAB871 /* Pods-OrcaDemo.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -363,7 +363,7 @@ }; 02A11956268D39AB00A2AC99 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1C5DAA8ED5D246C3A58AA45B /* Pods-OrcaDemo.release.xcconfig */; + baseConfigurationReference = 101D6E31C841CE609BC379F1 /* Pods-OrcaDemo.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; diff --git a/demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift b/demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift index 1b9ac382..d976dd70 100644 --- a/demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift +++ b/demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift @@ -23,7 +23,7 @@ enum UIState { } class ViewModel: ObservableObject { - private let ACCESS_KEY = "{YOUR_ACCESS_KEY_HERE}" // Obtained from Picovoice Console (https://console.picovoice.ai) + private let ACCESS_KEY = "PI5vbMlGH3K4+HgfM8hk9eIDF6i7CfZMQsn/9MmPrczi7sCfVioy6w==" // Obtained from Picovoice Console (https://console.picovoice.ai) private let NUM_AUDIO_WAIT_CHUNKS = 1 diff --git a/demo/ios/OrcaDemo/Podfile b/demo/ios/OrcaDemo/Podfile index 67f72677..044407b0 100644 --- a/demo/ios/OrcaDemo/Podfile +++ b/demo/ios/OrcaDemo/Podfile @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/' platform :ios, '13.0' target 'OrcaDemo' do - pod 'Orca-iOS', '~> 0.2.2' + pod 'Orca-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec' end diff --git a/demo/ios/OrcaDemo/Podfile.lock b/demo/ios/OrcaDemo/Podfile.lock index 958988c5..2203d222 100644 --- a/demo/ios/OrcaDemo/Podfile.lock +++ b/demo/ios/OrcaDemo/Podfile.lock @@ -2,15 +2,15 @@ PODS: - Orca-iOS (0.2.2) DEPENDENCIES: - - Orca-iOS (~> 0.2.2) + - Orca-iOS (from `https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec`) -SPEC REPOS: - trunk: - - Orca-iOS +EXTERNAL SOURCES: + Orca-iOS: + :podspec: https://raw.githubusercontent.com/Picovoice/orca/v1.0/binding/ios/Orca-iOS.podspec SPEC CHECKSUMS: - Orca-iOS: 567ca0e53671d8fc28ba15338db8fe4ff5101d8d + Orca-iOS: 44c42caf866fb0cf31de77e901acb7dfc24b3d70 -PODFILE CHECKSUM: 118fa8c1767dd3edcc2ec366a16ab74191c6176c +PODFILE CHECKSUM: 3e22e7fd65479f26cbc1a539b146669ac1204619 COCOAPODS: 1.15.2