Skip to content

Commit

Permalink
V0.2.1 ios (#28)
Browse files Browse the repository at this point in the history
* update version

* pv_set_sdk

* tests & demo

* minor

* use tag

* post release

* workflows
  • Loading branch information
albho authored May 31, 2024
1 parent 23b2c57 commit a2a2e33
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 85 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
- 'resources/.test/**'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
Expand All @@ -26,6 +27,7 @@ on:
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
- 'resources/.test/**'

defaults:
run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ on:
- '!binding/web/README.md'
- 'lib/wasm/**'
- '.github/workflows/web.yml'
- 'resources/.test/**'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/web/**'
- '!binding/web/README.md'
- 'lib/wasm/**'
- '.github/workflows/web.yml'
- 'resources/.test/**'

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions binding/ios/Orca-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'Orca-iOS'
s.module_name = 'Orca'
s.version = '0.2.0'
s.version = '0.2.1'
s.license = {:type => 'Apache 2.0'}
s.summary = 'iOS binding for Picovoice\'s Orca Text-to-Speech Engine.'
s.description =
Expand All @@ -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.0" }
s.source = { :git => "https://github.com/Picovoice/orca.git", :tag => "Orca-iOS-v0.2.1" }
s.ios.deployment_target = '13.0'
s.swift_version = '5.0'
s.vendored_frameworks = 'lib/ios/PvOrca.xcframework'
Expand Down
130 changes: 65 additions & 65 deletions binding/ios/OrcaAppTest/OrcaAppTest.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class OrcaAppTestUITests: BaseTest {

let groundTruth = try self.getPcm(
fileUrl: index == 0 ? self.testAudioMaleStream : self.testAudioFemaleStream)

XCTAssertEqual(fullPcm.count, groundTruth.count)
XCTAssertTrue(compareArrays(arr1: fullPcm, arr2: groundTruth, step: 1))
}
Expand Down
6 changes: 3 additions & 3 deletions binding/ios/OrcaAppTest/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ source 'https://cdn.cocoapods.org/'
platform :ios, '13.0'

target 'OrcaAppTest' do
pod 'Orca-iOS', '~> 0.2.0'
pod 'Orca-iOS', '~> 0.2.1'
end

target 'OrcaAppTestUITests' do
pod 'Orca-iOS', '~> 0.2.0'
pod 'Orca-iOS', '~> 0.2.1'
end

target 'PerformanceTest' do
pod 'Orca-iOS', '~> 0.2.0'
pod 'Orca-iOS', '~> 0.2.1'
end
8 changes: 4 additions & 4 deletions binding/ios/OrcaAppTest/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
PODS:
- Orca-iOS (0.2.0)
- Orca-iOS (0.2.1)

DEPENDENCIES:
- Orca-iOS (~> 0.2.0)
- Orca-iOS (~> 0.2.1)

SPEC REPOS:
trunk:
- Orca-iOS

SPEC CHECKSUMS:
Orca-iOS: 01bbf44ba52a102104fc09aded6bfda7beb4865e
Orca-iOS: f6b6124d78189e26c8c0457022a5948217ebe2d3

PODFILE CHECKSUM: 01d0a4d9f05893e5371be0f1775f4f59ed59da27
PODFILE CHECKSUM: c74fc8347aa5171d01ba9ce86c96a401037847d4

COCOAPODS: 1.15.2
8 changes: 4 additions & 4 deletions demo/ios/OrcaDemo/OrcaDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,15 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = Y6S42VUYBV;
DEVELOPMENT_TEAM = 65723695GD;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = OrcaDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = ai.picovoice.OrcaDemo.albert;
PRODUCT_BUNDLE_IDENTIFIER = ai.picovoice.OrcaDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -369,15 +369,15 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = Y6S42VUYBV;
DEVELOPMENT_TEAM = 65723695GD;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = OrcaDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = ai.picovoice.OrcaDemo.albert;
PRODUCT_BUNDLE_IDENTIFIER = ai.picovoice.OrcaDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
2 changes: 1 addition & 1 deletion demo/ios/OrcaDemo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/'
platform :ios, '13.0'

target 'OrcaDemo' do
pod 'Orca-iOS', '~> 0.2.0'
pod 'Orca-iOS', '~> 0.2.1'
end
8 changes: 4 additions & 4 deletions demo/ios/OrcaDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
PODS:
- Orca-iOS (0.2.0)
- Orca-iOS (0.2.1)

DEPENDENCIES:
- Orca-iOS (~> 0.2.0)
- Orca-iOS (~> 0.2.1)

SPEC REPOS:
trunk:
- Orca-iOS

SPEC CHECKSUMS:
Orca-iOS: 01bbf44ba52a102104fc09aded6bfda7beb4865e
Orca-iOS: f6b6124d78189e26c8c0457022a5948217ebe2d3

PODFILE CHECKSUM: 7655658323a426ab9a7ed6f7546e15081a877170
PODFILE CHECKSUM: 652a0a00a9d97df5db1dd9d329fcda8f33faf935

COCOAPODS: 1.15.2
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ PV_API pv_status_t pv_get_error_stack(
*/
PV_API void pv_free_error_stack(char **message_stack);

PV_API void pv_set_sdk(const char *sdk);

#ifdef __cplusplus
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ PV_API pv_status_t pv_get_error_stack(
*/
PV_API void pv_free_error_stack(char **message_stack);

PV_API void pv_set_sdk(const char *sdk);

#ifdef __cplusplus
}

Expand Down
2 changes: 1 addition & 1 deletion resources/.test/test_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"text_alignment": "Test alignment.",
"text_invalid": [
"Symbols *$",
"Escape characters \r",
"Escape characters \\",
"\"ی\", \"ء\"",
"ॐÁ hindi and spanish",
"Б russian",
Expand Down

0 comments on commit a2a2e33

Please sign in to comment.