Skip to content

Commit

Permalink
Update iOS demo (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
albho authored Nov 15, 2024
1 parent e4eaad8 commit 00f1e38
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ios-browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
branches: [ main ]
paths:
- '.github/workflows/ios-browserstack.yml'
- 'binding/ios/CobraAppTest/**'

pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/ios-browserstack.yml'
- 'binding/ios/CobraAppTest/**'


defaults:
Expand Down
22 changes: 20 additions & 2 deletions binding/ios/CobraAppTest/CobraAppTest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 60;
objectVersion = 55;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -18,6 +18,7 @@
1E5B7AF12800B4A600F8BDDB /* sample.wav in Resources */ = {isa = PBXBuildFile; fileRef = 1E5B7AF02800B4A600F8BDDB /* sample.wav */; };
E14CDF492CE4349C00E6494C /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF482CE4349C00E6494C /* Cobra */; };
E14CDF4B2CE434D700E6494C /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF4A2CE434D700E6494C /* Cobra */; };
E1643D4C2CE6DA14009027E6 /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E1643D4B2CE6DA14009027E6 /* Cobra */; };
E1CE29CB2CE5173900C4B43A /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E1CE29CA2CE5173900C4B43A /* Cobra */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -62,6 +63,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E1643D4C2CE6DA14009027E6 /* Cobra in Frameworks */,
E14CDF492CE4349C00E6494C /* Cobra in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -236,7 +238,7 @@
);
mainGroup = 1E00643F27CEDF9B006FF6E9;
packageReferences = (
E14CDF442CE425EC00E6494C /* XCLocalSwiftPackageReference "../../../../cobra" */,
E1643D4A2CE6DA14009027E6 /* XCRemoteSwiftPackageReference "cobra" */,
);
productRefGroup = 1E00644927CEDF9B006FF6E9 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -648,6 +650,17 @@
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCRemoteSwiftPackageReference section */
E1643D4A2CE6DA14009027E6 /* XCRemoteSwiftPackageReference "cobra" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/cobra";
requirement = {
kind = exactVersion;
version = 2.0.2;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
E14CDF482CE4349C00E6494C /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
Expand All @@ -659,6 +672,11 @@
package = E14CDF442CE425EC00E6494C /* XCLocalSwiftPackageReference "../../../../cobra" */;
productName = Cobra;
};
E1643D4B2CE6DA14009027E6 /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E1643D4A2CE6DA14009027E6 /* XCRemoteSwiftPackageReference "cobra" */;
productName = Cobra;
};
E1CE29CA2CE5173900C4B43A /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
productName = Cobra;
Expand Down
55 changes: 28 additions & 27 deletions demo/ios/CobraDemo/CobraDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 60;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -13,8 +13,8 @@
02A1195F268D3FD600A2AC99 /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02A1195E268D3FD600A2AC99 /* ViewModel.swift */; };
E14CDF4E2CE43A7600E6494C /* ios_voice_processor in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF4D2CE43A7600E6494C /* ios_voice_processor */; };
E14CDF512CE43AB600E6494C /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF502CE43AB600E6494C /* Cobra */; };
E14CDF592CE43D5F00E6494C /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF582CE43D5F00E6494C /* Cobra */; };
E14CDF5B2CE43D6600E6494C /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E14CDF5A2CE43D6600E6494C /* Cobra */; };
E1643D4F2CE6DE16009027E6 /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E1643D4E2CE6DE16009027E6 /* Cobra */; };
E1643D522CE6DE98009027E6 /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E1643D512CE6DE98009027E6 /* Cobra */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -31,8 +31,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E14CDF5B2CE43D6600E6494C /* Cobra in Frameworks */,
E14CDF592CE43D5F00E6494C /* Cobra in Frameworks */,
E1643D522CE6DE98009027E6 /* Cobra in Frameworks */,
E1643D4F2CE6DE16009027E6 /* Cobra in Frameworks */,
E14CDF512CE43AB600E6494C /* Cobra in Frameworks */,
E14CDF4E2CE43A7600E6494C /* ios_voice_processor in Frameworks */,
);
Expand All @@ -46,7 +46,6 @@
children = (
02A11947268D39A700A2AC99 /* CobraDemo */,
02A11946268D39A700A2AC99 /* Products */,
8DB92FF3DC81AB04D3FF7242 /* Pods */,
);
sourceTree = "<group>";
};
Expand All @@ -70,13 +69,6 @@
path = CobraDemo;
sourceTree = "<group>";
};
8DB92FF3DC81AB04D3FF7242 /* Pods */ = {
isa = PBXGroup;
children = (
);
path = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -122,7 +114,7 @@
mainGroup = 02A1193C268D39A700A2AC99;
packageReferences = (
E14CDF4C2CE43A7600E6494C /* XCRemoteSwiftPackageReference "ios-voice-processor" */,
E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */,
E1643D502CE6DE98009027E6 /* XCRemoteSwiftPackageReference "cobra" */,
);
productRefGroup = 02A11946268D39A700A2AC99 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -341,20 +333,29 @@
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../../../../cobra;
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCRemoteSwiftPackageReference section */
E14CDF4C2CE43A7600E6494C /* XCRemoteSwiftPackageReference "ios-voice-processor" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/ios-voice-processor";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.2.0;
kind = exactVersion;
version = 1.2.0;
};
};
E1643D4D2CE6DE16009027E6 /* XCRemoteSwiftPackageReference "cobra" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/cobra";
requirement = {
kind = exactVersion;
version = 2.0.2;
};
};
E1643D502CE6DE98009027E6 /* XCRemoteSwiftPackageReference "cobra" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/cobra";
requirement = {
kind = exactVersion;
version = 2.0.2;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand All @@ -369,14 +370,14 @@
isa = XCSwiftPackageProductDependency;
productName = Cobra;
};
E14CDF582CE43D5F00E6494C /* Cobra */ = {
E1643D4E2CE6DE16009027E6 /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */;
package = E1643D4D2CE6DE16009027E6 /* XCRemoteSwiftPackageReference "cobra" */;
productName = Cobra;
};
E14CDF5A2CE43D6600E6494C /* Cobra */ = {
E1643D512CE6DE98009027E6 /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */;
package = E1643D502CE6DE98009027E6 /* XCRemoteSwiftPackageReference "cobra" */;
productName = Cobra;
};
/* End XCSwiftPackageProductDependency section */
Expand Down

0 comments on commit 00f1e38

Please sign in to comment.