1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-16 18:30:32 +00:00

Fix Swift conditionality.

This commit is contained in:
Thomas Harte 2023-11-21 22:48:26 -05:00
parent 1828a10885
commit 24d0caf8e7
2 changed files with 3 additions and 2 deletions

View File

@ -6702,6 +6702,7 @@
"$(OTHER_CFLAGS)",
"-Wreorder",
);
OTHER_SWIFT_FLAGS = "-D DEBUG";
PRODUCT_BUNDLE_IDENTIFIER = "TH.Clock-Signal";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Clock Signal/ClockSignal-Bridging-Header.h";

View File

@ -86,8 +86,8 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate {
// TEMPORARY: remove the Apple IIgs and PC compatible options.
// Neither is yet a fully-working machine.
#if RELEASE
for hidden in ["appleiigs" /*, "pc" */] {
#if !DEBUG
for hidden in ["appleiigs", "pc"] {
let tabIndex = machineSelector.indexOfTabViewItem(withIdentifier: hidden)
machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: tabIndex))
}