Zustandsmaschine und Geometrie sind testgetrieben entstanden und tragen 40 Tests — sie sind frei von AppKit, damit jeder Übergang ohne Fenster und ohne Warten prüfbar ist. Zeit kommt nur als Ereignis herein. Zwei Entscheidungen, die im Code begründet sind: Der Zeiger wird über einen globalen Ereignismonitor verfolgt, nicht über ein unsichtbares Fenster auf der Notch. Ein solches Fenster müsste Mausereignisse annehmen, um sie zu bemerken, und würde damit Menüleiste und Fensterknöpfe darunter unbenutzbar machen. "Nur internes Display" fällt auf ein externes zurück, wenn kein eingebautes da ist. Am Dock mit geschlossenem Deckel hieße die Einstellung wörtlich genommen, dass Onyx unerreichbar wird. Design: NSVisualEffectView mit eigenem Tint statt Liquid Glass — Onyx ist Stein, kein Glas. Alle Farben und Maße liegen als Tokens in OnyxDesign. Menüleiste: jedes Modul bekommt ein eigenes NSStatusItem. Elemente, denen macOS mangels Platz keine Breite gibt, werden erkannt und gemeldet, statt still zu verschwinden. App-Target über XcodeGen, damit die Projektdefinition im Diff lesbar bleibt. Nicht sandboxed, mit App-Group-Entitlement — baut, startet, signiert mit PP34X97WS3.
377 lines
13 KiB
Plaintext
377 lines
13 KiB
Plaintext
// !$*UTF8*$!
|
|
{
|
|
archiveVersion = 1;
|
|
classes = {
|
|
};
|
|
objectVersion = 77;
|
|
objects = {
|
|
|
|
/* Begin PBXBuildFile section */
|
|
378A5A417112CCB31EF3F774 /* OnyxMenuBar in Frameworks */ = {isa = PBXBuildFile; productRef = A7FD7A4864E5ED4B95C211AF /* OnyxMenuBar */; };
|
|
4E729C7A6498B4679C8D2C42 /* OnyxDesign in Frameworks */ = {isa = PBXBuildFile; productRef = 3D680DD645941493A7D3559E /* OnyxDesign */; };
|
|
68EE5495435A82E20248EBC2 /* OnyxNotch in Frameworks */ = {isa = PBXBuildFile; productRef = 3A32CAE6CC4D01D660F0016F /* OnyxNotch */; };
|
|
9C2E419014B7E04630FDF151 /* OnyxApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F89CAC2A7DA89B8707D45D65 /* OnyxApp.swift */; };
|
|
EA4D6312E8A96E177F10797F /* OnyxWidgetKit in Frameworks */ = {isa = PBXBuildFile; productRef = E66577A40689DF225BCED184 /* OnyxWidgetKit */; };
|
|
/* End PBXBuildFile section */
|
|
|
|
/* Begin PBXFileReference section */
|
|
0804288DC4A8146DD9F3FC3E /* Onyx.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Onyx.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
50A018673EE6BD9C50F1EFA0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
|
|
821B742C211265914B6CC44B /* OnyxKit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = OnyxKit; path = Packages/OnyxKit; sourceTree = SOURCE_ROOT; };
|
|
87597F09E971C14CF1E475DB /* Onyx.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Onyx.entitlements; sourceTree = "<group>"; };
|
|
F89CAC2A7DA89B8707D45D65 /* OnyxApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnyxApp.swift; sourceTree = "<group>"; };
|
|
/* End PBXFileReference section */
|
|
|
|
/* Begin PBXFrameworksBuildPhase section */
|
|
7FF994FE5530D53BEFBE13FE /* Frameworks */ = {
|
|
isa = PBXFrameworksBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
4E729C7A6498B4679C8D2C42 /* OnyxDesign in Frameworks */,
|
|
68EE5495435A82E20248EBC2 /* OnyxNotch in Frameworks */,
|
|
EA4D6312E8A96E177F10797F /* OnyxWidgetKit in Frameworks */,
|
|
378A5A417112CCB31EF3F774 /* OnyxMenuBar in Frameworks */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXFrameworksBuildPhase section */
|
|
|
|
/* Begin PBXGroup section */
|
|
0FBA13B97C53F1D0D740A633 /* Resources */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
);
|
|
path = Resources;
|
|
sourceTree = "<group>";
|
|
};
|
|
339A2C4AF25B5612E90B795D /* Products */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
0804288DC4A8146DD9F3FC3E /* Onyx.app */,
|
|
);
|
|
name = Products;
|
|
sourceTree = "<group>";
|
|
};
|
|
40AB0784F956D00B4E1362FB = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
D6653B90FCB65F334F91F2F1 /* Onyx */,
|
|
573275C59A65A7C11CCEC90A /* Packages */,
|
|
339A2C4AF25B5612E90B795D /* Products */,
|
|
);
|
|
sourceTree = "<group>";
|
|
};
|
|
573275C59A65A7C11CCEC90A /* Packages */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
821B742C211265914B6CC44B /* OnyxKit */,
|
|
);
|
|
path = Packages;
|
|
sourceTree = "<group>";
|
|
};
|
|
D6653B90FCB65F334F91F2F1 /* Onyx */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
0FBA13B97C53F1D0D740A633 /* Resources */,
|
|
50A018673EE6BD9C50F1EFA0 /* Info.plist */,
|
|
87597F09E971C14CF1E475DB /* Onyx.entitlements */,
|
|
F89CAC2A7DA89B8707D45D65 /* OnyxApp.swift */,
|
|
);
|
|
path = Onyx;
|
|
sourceTree = "<group>";
|
|
};
|
|
/* End PBXGroup section */
|
|
|
|
/* Begin PBXNativeTarget section */
|
|
2EB428ADC48D89BCA28D3EE1 /* Onyx */ = {
|
|
isa = PBXNativeTarget;
|
|
buildConfigurationList = C126F7CB2B14EC196CE8743D /* Build configuration list for PBXNativeTarget "Onyx" */;
|
|
buildPhases = (
|
|
6B11A5AC704B6429B9484789 /* Sources */,
|
|
7FF994FE5530D53BEFBE13FE /* Frameworks */,
|
|
);
|
|
buildRules = (
|
|
);
|
|
dependencies = (
|
|
);
|
|
name = Onyx;
|
|
packageProductDependencies = (
|
|
3D680DD645941493A7D3559E /* OnyxDesign */,
|
|
3A32CAE6CC4D01D660F0016F /* OnyxNotch */,
|
|
E66577A40689DF225BCED184 /* OnyxWidgetKit */,
|
|
A7FD7A4864E5ED4B95C211AF /* OnyxMenuBar */,
|
|
);
|
|
productName = Onyx;
|
|
productReference = 0804288DC4A8146DD9F3FC3E /* Onyx.app */;
|
|
productType = "com.apple.product-type.application";
|
|
};
|
|
/* End PBXNativeTarget section */
|
|
|
|
/* Begin PBXProject section */
|
|
32F5E88F3CF35AE8C0E00613 /* Project object */ = {
|
|
isa = PBXProject;
|
|
attributes = {
|
|
BuildIndependentTargetsInParallel = YES;
|
|
LastUpgradeCheck = 1430;
|
|
TargetAttributes = {
|
|
2EB428ADC48D89BCA28D3EE1 = {
|
|
DevelopmentTeam = PP34X97WS3;
|
|
ProvisioningStyle = Automatic;
|
|
};
|
|
};
|
|
};
|
|
buildConfigurationList = 0A2ACEAA7E2F36634202B241 /* Build configuration list for PBXProject "Onyx" */;
|
|
developmentRegion = en;
|
|
hasScannedForEncodings = 0;
|
|
knownRegions = (
|
|
Base,
|
|
en,
|
|
);
|
|
mainGroup = 40AB0784F956D00B4E1362FB;
|
|
minimizedProjectReferenceProxies = 1;
|
|
packageReferences = (
|
|
862B24C4FC93B2D8783C51A3 /* XCLocalSwiftPackageReference "Packages/OnyxKit" */,
|
|
);
|
|
preferredProjectObjectVersion = 77;
|
|
productRefGroup = 339A2C4AF25B5612E90B795D /* Products */;
|
|
projectDirPath = "";
|
|
projectRoot = "";
|
|
targets = (
|
|
2EB428ADC48D89BCA28D3EE1 /* Onyx */,
|
|
);
|
|
};
|
|
/* End PBXProject section */
|
|
|
|
/* Begin PBXSourcesBuildPhase section */
|
|
6B11A5AC704B6429B9484789 /* Sources */ = {
|
|
isa = PBXSourcesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
9C2E419014B7E04630FDF151 /* OnyxApp.swift in Sources */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXSourcesBuildPhase section */
|
|
|
|
/* Begin XCBuildConfiguration section */
|
|
42021FACB216529C4EA156E9 /* Debug */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
CODE_SIGN_ENTITLEMENTS = Onyx/Onyx.entitlements;
|
|
CODE_SIGN_STYLE = Automatic;
|
|
COMBINE_HIDPI_IMAGES = YES;
|
|
ENABLE_APP_SANDBOX = NO;
|
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
|
INFOPLIST_FILE = Onyx/Info.plist;
|
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
"$(inherited)",
|
|
"@executable_path/../Frameworks",
|
|
);
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.scarriffleservices.onyx;
|
|
SDKROOT = macosx;
|
|
};
|
|
name = Debug;
|
|
};
|
|
A8521951AFD4AF6BDE351F27 /* Release */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
CLANG_ANALYZER_NONNULL = YES;
|
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
CLANG_ENABLE_MODULES = YES;
|
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
CLANG_WARN_COMMA = YES;
|
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
COPY_PHASE_STRIP = NO;
|
|
CURRENT_PROJECT_VERSION = 1;
|
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
DEVELOPMENT_TEAM = PP34X97WS3;
|
|
ENABLE_HARDENED_RUNTIME = YES;
|
|
ENABLE_NS_ASSERTIONS = NO;
|
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
MACOSX_DEPLOYMENT_TARGET = 26.0;
|
|
MARKETING_VERSION = 0.1.0;
|
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
MTL_FAST_MATH = YES;
|
|
OTHER_CODE_SIGN_FLAGS = "--deep";
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
SDKROOT = macosx;
|
|
SWIFT_COMPILATION_MODE = wholemodule;
|
|
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
SWIFT_STRICT_CONCURRENCY = complete;
|
|
SWIFT_VERSION = 6.0;
|
|
};
|
|
name = Release;
|
|
};
|
|
DEB51EF5615CABC756F24ADD /* Debug */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
CLANG_ANALYZER_NONNULL = YES;
|
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
CLANG_ENABLE_MODULES = YES;
|
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
CLANG_WARN_COMMA = YES;
|
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
COPY_PHASE_STRIP = NO;
|
|
CURRENT_PROJECT_VERSION = 1;
|
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
DEVELOPMENT_TEAM = PP34X97WS3;
|
|
ENABLE_HARDENED_RUNTIME = YES;
|
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
ENABLE_TESTABILITY = YES;
|
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
GCC_OPTIMIZATION_LEVEL = 0;
|
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
"$(inherited)",
|
|
"DEBUG=1",
|
|
);
|
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
MACOSX_DEPLOYMENT_TARGET = 26.0;
|
|
MARKETING_VERSION = 0.1.0;
|
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
|
MTL_FAST_MATH = YES;
|
|
ONLY_ACTIVE_ARCH = YES;
|
|
OTHER_CODE_SIGN_FLAGS = "--deep";
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
SDKROOT = macosx;
|
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
SWIFT_STRICT_CONCURRENCY = complete;
|
|
SWIFT_VERSION = 6.0;
|
|
};
|
|
name = Debug;
|
|
};
|
|
E2D28160550E1CF316474C7E /* Release */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
CODE_SIGN_ENTITLEMENTS = Onyx/Onyx.entitlements;
|
|
CODE_SIGN_STYLE = Automatic;
|
|
COMBINE_HIDPI_IMAGES = YES;
|
|
ENABLE_APP_SANDBOX = NO;
|
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
|
INFOPLIST_FILE = Onyx/Info.plist;
|
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
"$(inherited)",
|
|
"@executable_path/../Frameworks",
|
|
);
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.scarriffleservices.onyx;
|
|
SDKROOT = macosx;
|
|
};
|
|
name = Release;
|
|
};
|
|
/* End XCBuildConfiguration section */
|
|
|
|
/* Begin XCConfigurationList section */
|
|
0A2ACEAA7E2F36634202B241 /* Build configuration list for PBXProject "Onyx" */ = {
|
|
isa = XCConfigurationList;
|
|
buildConfigurations = (
|
|
DEB51EF5615CABC756F24ADD /* Debug */,
|
|
A8521951AFD4AF6BDE351F27 /* Release */,
|
|
);
|
|
defaultConfigurationIsVisible = 0;
|
|
defaultConfigurationName = Debug;
|
|
};
|
|
C126F7CB2B14EC196CE8743D /* Build configuration list for PBXNativeTarget "Onyx" */ = {
|
|
isa = XCConfigurationList;
|
|
buildConfigurations = (
|
|
42021FACB216529C4EA156E9 /* Debug */,
|
|
E2D28160550E1CF316474C7E /* Release */,
|
|
);
|
|
defaultConfigurationIsVisible = 0;
|
|
defaultConfigurationName = Debug;
|
|
};
|
|
/* End XCConfigurationList section */
|
|
|
|
/* Begin XCLocalSwiftPackageReference section */
|
|
862B24C4FC93B2D8783C51A3 /* XCLocalSwiftPackageReference "Packages/OnyxKit" */ = {
|
|
isa = XCLocalSwiftPackageReference;
|
|
relativePath = Packages/OnyxKit;
|
|
};
|
|
/* End XCLocalSwiftPackageReference section */
|
|
|
|
/* Begin XCSwiftPackageProductDependency section */
|
|
3A32CAE6CC4D01D660F0016F /* OnyxNotch */ = {
|
|
isa = XCSwiftPackageProductDependency;
|
|
productName = OnyxNotch;
|
|
};
|
|
3D680DD645941493A7D3559E /* OnyxDesign */ = {
|
|
isa = XCSwiftPackageProductDependency;
|
|
productName = OnyxDesign;
|
|
};
|
|
A7FD7A4864E5ED4B95C211AF /* OnyxMenuBar */ = {
|
|
isa = XCSwiftPackageProductDependency;
|
|
productName = OnyxMenuBar;
|
|
};
|
|
E66577A40689DF225BCED184 /* OnyxWidgetKit */ = {
|
|
isa = XCSwiftPackageProductDependency;
|
|
productName = OnyxWidgetKit;
|
|
};
|
|
/* End XCSwiftPackageProductDependency section */
|
|
};
|
|
rootObject = 32F5E88F3CF35AE8C0E00613 /* Project object */;
|
|
}
|