Skip to content

Commit c44132b

Browse files
committed
Use AUv3Support v14.0.1
1 parent d314ef1 commit c44132b

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

--NAME--.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,8 +1549,8 @@
15491549
isa = XCRemoteSwiftPackageReference;
15501550
repositoryURL = "https://github.com/bradhowes/AUv3Support";
15511551
requirement = {
1552-
kind = upToNextMajorVersion;
1553-
minimumVersion = 14.0.0;
1552+
kind = exactVersion;
1553+
version = 14.0.1;
15541554
};
15551555
};
15561556
BD8D4E1327B589D4007011A5 /* XCRemoteSwiftPackageReference "knob" */ = {

--NAME--.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
.library(name: "Theme", targets: ["Theme"])
1414
],
1515
dependencies: [
16-
.package(url: "https://github.com/bradhowes/AUv3Support", from: "14.0.0"),
16+
.package(url: "https://github.com/bradhowes/AUv3Support", exact: "14.0.1"),
1717
],
1818
targets: [
1919
.target(

scripts/build.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,15 @@ def build(name, subtype):
8282
print(" NAME is the name of the new AUv3 component")
8383
print(" SUBTYPE is the unique AUv3 4-character subtype for the new component")
8484
sys.exit(1)
85-
build(sys.argv[1], sys.argv[2])
85+
86+
name = sys.argv[1]
87+
if not name:
88+
print("*** invalid/missing name")
89+
sys.exit(1)
90+
91+
subType = sys.argv[2]
92+
if not subType or len(subType) != 4:
93+
print("*** invalid/missing subType -- must be exactly 4 characters")
94+
sys.exit(1)
95+
96+
build(name, subType)

0 commit comments

Comments
 (0)