Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
Version values now come from `Common.xcconfig` instead of within
the project file.
  • Loading branch information
bradhowes committed Nov 2, 2024
1 parent 89f4fb4 commit 6bff90f
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 404 deletions.
29 changes: 8 additions & 21 deletions --NAME--.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
BDC48CFD27B5BB03005974D7 /* KernelBridge in Frameworks */ = {isa = PBXBuildFile; productRef = BDC48CFC27B5BB03005974D7 /* KernelBridge */; };
BDC48CFF27B5BB03005974D7 /* ParameterAddress in Frameworks */ = {isa = PBXBuildFile; productRef = BDC48CFE27B5BB03005974D7 /* ParameterAddress */; };
BDC48D0127B5BB03005974D7 /* Parameters in Frameworks */ = {isa = PBXBuildFile; productRef = BDC48D0027B5BB03005974D7 /* Parameters */; };
BDD3581E2CD6C973006FFB1B /* Theme in Frameworks */ = {isa = PBXBuildFile; productRef = BDD3581D2CD6C973006FFB1B /* Theme */; };
C433F56122404C7C00F1B750 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C433F56022404C7C00F1B750 /* ViewController.swift */; };
C437FE712223686D008D6C09 /* --NAME--AU.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = C437FE632223686D008D6C09 /* --NAME--AU.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
C4660A602225F9A0007BE3B1 /* --NAME--AU.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = C437FEA0222368B7008D6C09 /* --NAME--AU.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
Expand Down Expand Up @@ -188,6 +189,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BDD3581E2CD6C973006FFB1B /* Theme in Frameworks */,
BD8D4E1D27B589FF007011A5 /* ParameterAddress in Frameworks */,
BD8D4E1927B589FF007011A5 /* Kernel in Frameworks */,
BD8D4E1527B589D4007011A5 /* Knob-iOS in Frameworks */,
Expand Down Expand Up @@ -427,6 +429,7 @@
BD8D4E1A27B589FF007011A5 /* KernelBridge */,
BD8D4E1C27B589FF007011A5 /* ParameterAddress */,
BD8D4E1E27B589FF007011A5 /* Parameters */,
BDD3581D2CD6C973006FFB1B /* Theme */,
);
productName = "AUv3FilterExtension iOS";
productReference = C437FE632223686D008D6C09 /* --NAME--AU.appex */;
Expand Down Expand Up @@ -488,7 +491,7 @@
BuildIndependentTargetsInParallel = YES;
DefaultBuildSystemTypeForWorkspace = Latest;
LastSwiftUpdateCheck = 1240;
LastUpgradeCheck = 1520;
LastUpgradeCheck = 1610;
ORGANIZATIONNAME = Apple;
TargetAttributes = {
BD1D257525D5AAB000523748 = {
Expand Down Expand Up @@ -840,7 +843,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = BDE2CE1824A3E8DB004AC8FA /* Staging.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -875,7 +877,6 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = UP6SS5ES7E;
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -893,7 +894,6 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.braysoftware.--NAME--";
Expand Down Expand Up @@ -945,7 +945,6 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -964,7 +963,6 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.braysoftware.--NAME--.appex";
Expand All @@ -984,7 +982,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = BDE2CE1824A3E8DB004AC8FA /* Staging.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -1020,7 +1017,6 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
Expand All @@ -1041,7 +1037,6 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.braysoftware.--NAME--";
Expand Down Expand Up @@ -1092,7 +1087,6 @@
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
Expand All @@ -1113,7 +1107,6 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.braysoftware.--NAME--.appex";
Expand Down Expand Up @@ -1174,7 +1167,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = BDE2CE1724A3E887004AC8FA /* Dev.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -1209,7 +1201,6 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = UP6SS5ES7E;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -1233,7 +1224,6 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1285,7 +1275,6 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -1310,7 +1299,6 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -1330,7 +1318,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = BDE2CE1724A3E887004AC8FA /* Dev.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -1366,7 +1353,6 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
Expand All @@ -1393,7 +1379,6 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1445,7 +1430,6 @@
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220215161008;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
Expand All @@ -1472,7 +1456,6 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 1.1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1618,6 +1601,10 @@
isa = XCSwiftPackageProductDependency;
productName = Parameters;
};
BDD3581D2CD6C973006FFB1B /* Theme */ = {
isa = XCSwiftPackageProductDependency;
productName = Theme;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = C437FE302223672C008D6C09 /* Project object */;
Expand Down
2 changes: 1 addition & 1 deletion --NAME--.xcodeproj/xcshareddata/xcschemes/All.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion --NAME--.xcodeproj/xcshareddata/xcschemes/iOS App.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
LastUpgradeVersion = "1610"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 6 additions & 0 deletions Configuration/Common.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ AU_COMPONENT_MANUFACTURER = BRay
// The bundle / class that will be used to instantiate the AUv3. It must implement the `AUAudioUnitFactory`
// protocol.
AU_FACTORY_FUNCTION = --NAME--AU.ViewController

// The "build" version -- the `bumpVersions.py -b` option sets this to a date/time stamp
CURRENT_PROJECT_VERSION = 20241102214535

// The visible version (eg. 1.2.3)
MARKETING_VERSION = 1.0.0
2 changes: 1 addition & 1 deletion Packages/Sources/KernelBridge/KernelBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import Kernel

// Extend the Obj-C KernelBridge with protocols for interoperability with `FilterAudioUnit` and `AudioUnitParameters`
// classes.
extension KernelBridge: AUParameterHandler, AudioRenderer {}
extension KernelBridge: @retroactive AUParameterHandler, @retroactive AudioRenderer {}
2 changes: 1 addition & 1 deletion Packages/Sources/Parameters/Parameters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ extension Parameters {
}
}

extension AUParameter: AUParameterFormatting {
extension AUParameter: @retroactive AUParameterFormatting {

/// Obtain string to use to separate a formatted value from its units name
public var unitSeparator: String {
Expand Down
Loading

0 comments on commit 6bff90f

Please sign in to comment.