Skip to content

Commit

Permalink
replace local package with spm package
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Nov 15, 2024
1 parent e4eaad8 commit 958350a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 17 deletions.
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
37 changes: 22 additions & 15 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 @@ -15,6 +15,7 @@
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 */; };
E1643D492CE6D984009027E6 /* Cobra in Frameworks */ = {isa = PBXBuildFile; productRef = E1643D482CE6D984009027E6 /* Cobra */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -32,6 +33,7 @@
buildActionMask = 2147483647;
files = (
E14CDF5B2CE43D6600E6494C /* Cobra in Frameworks */,
E1643D492CE6D984009027E6 /* Cobra in Frameworks */,
E14CDF592CE43D5F00E6494C /* Cobra in Frameworks */,
E14CDF512CE43AB600E6494C /* Cobra in Frameworks */,
E14CDF4E2CE43A7600E6494C /* ios_voice_processor in Frameworks */,
Expand All @@ -46,7 +48,6 @@
children = (
02A11947268D39A700A2AC99 /* CobraDemo */,
02A11946268D39A700A2AC99 /* Products */,
8DB92FF3DC81AB04D3FF7242 /* Pods */,
);
sourceTree = "<group>";
};
Expand All @@ -70,13 +71,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 +116,7 @@
mainGroup = 02A1193C268D39A700A2AC99;
packageReferences = (
E14CDF4C2CE43A7600E6494C /* XCRemoteSwiftPackageReference "ios-voice-processor" */,
E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */,
E1643D472CE6D984009027E6 /* XCRemoteSwiftPackageReference "cobra" */,
);
productRefGroup = 02A11946268D39A700A2AC99 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -342,7 +336,7 @@
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */ = {
E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "../../../../cobra" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../../../../cobra;
};
Expand All @@ -353,8 +347,16 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/ios-voice-processor";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.2.0;
kind = exactVersion;
version = 1.2.0;
};
};
E1643D472CE6D984009027E6 /* XCRemoteSwiftPackageReference "cobra" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Picovoice/cobra";
requirement = {
kind = exactVersion;
version = 2.0.2;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand All @@ -371,12 +373,17 @@
};
E14CDF582CE43D5F00E6494C /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "../../../../cobra" */;
productName = Cobra;
};
E14CDF5A2CE43D6600E6494C /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "cobra" */;
package = E14CDF542CE43B5B00E6494C /* XCLocalSwiftPackageReference "../../../../cobra" */;
productName = Cobra;
};
E1643D482CE6D984009027E6 /* Cobra */ = {
isa = XCSwiftPackageProductDependency;
package = E1643D472CE6D984009027E6 /* XCRemoteSwiftPackageReference "cobra" */;
productName = Cobra;
};
/* End XCSwiftPackageProductDependency section */
Expand Down

0 comments on commit 958350a

Please sign in to comment.