From 7113b9f355c093dff708e0827866aebb4c5650ca Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Thu, 10 Mar 2022 12:39:49 +0100 Subject: [PATCH] Added stub for AutotypeOverlay --- AutotypeOverlay/AOAppDelegate.h | 15 + AutotypeOverlay/AOAppDelegate.m | 80 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 ++ AutotypeOverlay/Assets.xcassets/Contents.json | 6 + AutotypeOverlay/AutotypeOverlay.entitlements | 5 + AutotypeOverlay/Base.lproj/MainMenu.xib | 696 ++++++++++++++++++ AutotypeOverlay/Info.plist | 8 + AutotypeOverlay/main.m | 16 + MacPass.xcodeproj/project.pbxproj | 183 +++++ .../xcschemes/AutotypeOverlay.xcscheme | 78 ++ 11 files changed, 1156 insertions(+) create mode 100644 AutotypeOverlay/AOAppDelegate.h create mode 100644 AutotypeOverlay/AOAppDelegate.m create mode 100644 AutotypeOverlay/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 AutotypeOverlay/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 AutotypeOverlay/Assets.xcassets/Contents.json create mode 100644 AutotypeOverlay/AutotypeOverlay.entitlements create mode 100644 AutotypeOverlay/Base.lproj/MainMenu.xib create mode 100644 AutotypeOverlay/Info.plist create mode 100644 AutotypeOverlay/main.m create mode 100644 MacPass.xcodeproj/xcshareddata/xcschemes/AutotypeOverlay.xcscheme diff --git a/AutotypeOverlay/AOAppDelegate.h b/AutotypeOverlay/AOAppDelegate.h new file mode 100644 index 00000000..7f027901 --- /dev/null +++ b/AutotypeOverlay/AOAppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// AutotypeOverlay +// +// Created by Michael Starke on 09.03.22. +// Copyright © 2022 HicknHack Software GmbH. All rights reserved. +// + +#import + +@interface AOAppDelegate : NSObject + + +@end + diff --git a/AutotypeOverlay/AOAppDelegate.m b/AutotypeOverlay/AOAppDelegate.m new file mode 100644 index 00000000..ac11dc45 --- /dev/null +++ b/AutotypeOverlay/AOAppDelegate.m @@ -0,0 +1,80 @@ +// +// AppDelegate.m +// AutotypeOverlay +// +// Created by Michael Starke on 09.03.22. +// Copyright © 2022 HicknHack Software GmbH. All rights reserved. +// + +#import "AOAppDelegate.h" +#import + +@interface AOAppDelegate () + +@property (strong) IBOutlet NSWindow *window; + +@end + +@implementation AOAppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { + // Insert code here to initialize your application + + if(!AXIsProcessTrusted()) { + NSString *name = [NSBundle.mainBundle.infoDictionary[@"CFBundleName"] copy]; + NSLog(@"%@ requires Accessibilty Permissions to work.", name); + } + + [NSWorkspace.sharedWorkspace.notificationCenter addObserver:self selector:@selector(_didDeactivateApplication:) name:NSWorkspaceDidDeactivateApplicationNotification object:nil]; + [NSWorkspace.sharedWorkspace.notificationCenter addObserver:self selector:@selector(_didActivateApplication:) name:NSWorkspaceDidActivateApplicationNotification object:nil]; +} + + +- (void)applicationWillTerminate:(NSNotification *)aNotification { + // Insert code here to tear down your application +} + + +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app { + return YES; +} + +- (void)_didDeactivateApplication:(NSNotification *)notification { + //[self.window orderOut:nil]; +} + +- (void)_didActivateApplication:(NSNotification *)notification { + AXUIElementRef systemWide = AXUIElementCreateSystemWide(); + if(NULL == systemWide) { + return; + } + CFTypeRef elementRef; + AXError error = AXUIElementCopyAttributeValue(systemWide, kAXFocusedUIElementAttribute, &elementRef); + if(error == kAXErrorSuccess) { + [self _updateFocusedElement:elementRef]; + } +} + +- (void)_updateFocusedElement:(AXUIElementRef)element { + if(CFGetTypeID(element) != AXUIElementGetTypeID()) { + return; // wrong type or NULL + } + CFTypeRef positionRef; + AXError error = AXUIElementCopyAttributeValue(element, kAXPositionAttribute, &positionRef); + if(error != kAXErrorSuccess || kAXValueTypeCGPoint != AXValueGetType(positionRef)) { + return; + } + CGPoint position; + AXValueGetValue(positionRef, kAXValueTypeCGPoint, &position); + + + + + + + [self.window orderFront:self]; + [self.window setFrameTopLeftPoint:position]; + NSLog(@"Setting position to %@", NSStringFromPoint(position)); +} + +@end diff --git a/AutotypeOverlay/Assets.xcassets/AccentColor.colorset/Contents.json b/AutotypeOverlay/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000..eb878970 --- /dev/null +++ b/AutotypeOverlay/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AutotypeOverlay/Assets.xcassets/AppIcon.appiconset/Contents.json b/AutotypeOverlay/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..3f00db43 --- /dev/null +++ b/AutotypeOverlay/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AutotypeOverlay/Assets.xcassets/Contents.json b/AutotypeOverlay/Assets.xcassets/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/AutotypeOverlay/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AutotypeOverlay/AutotypeOverlay.entitlements b/AutotypeOverlay/AutotypeOverlay.entitlements new file mode 100644 index 00000000..0c67376e --- /dev/null +++ b/AutotypeOverlay/AutotypeOverlay.entitlements @@ -0,0 +1,5 @@ + + + + + diff --git a/AutotypeOverlay/Base.lproj/MainMenu.xib b/AutotypeOverlay/Base.lproj/MainMenu.xib new file mode 100644 index 00000000..a26e46cf --- /dev/null +++ b/AutotypeOverlay/Base.lproj/MainMenu.xib @@ -0,0 +1,696 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AutotypeOverlay/Info.plist b/AutotypeOverlay/Info.plist new file mode 100644 index 00000000..6f7ae582 --- /dev/null +++ b/AutotypeOverlay/Info.plist @@ -0,0 +1,8 @@ + + + + + LSUIElement + + + diff --git a/AutotypeOverlay/main.m b/AutotypeOverlay/main.m new file mode 100644 index 00000000..e946eb5a --- /dev/null +++ b/AutotypeOverlay/main.m @@ -0,0 +1,16 @@ +// +// main.m +// AutotypeOverlay +// +// Created by Michael Starke on 09.03.22. +// Copyright © 2022 HicknHack Software GmbH. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) { + @autoreleasepool { + // Setup code that might create autoreleased objects goes here. + } + return NSApplicationMain(argc, argv); +} diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index acdfbe19..f0544504 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -129,6 +129,10 @@ 4C4BE0C8257E9B91000AEA8C /* MPNotificationPreferencesController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4BE0C6257E9B91000AEA8C /* MPNotificationPreferencesController.m */; }; 4C4BE0C9257E9B91000AEA8C /* MPNotificationPreferencesController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C4BE0C7257E9B91000AEA8C /* MPNotificationPreferencesController.xib */; }; 4C4DC0A61C3AD17500DE9DCF /* KeePassKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C7B63791C0CB55600D7038C /* KeePassKit.framework */; }; + 4C4F120027D9055300ED5495 /* AOAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4F11FF27D9055300ED5495 /* AOAppDelegate.m */; }; + 4C4F120227D9055600ED5495 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C4F120127D9055600ED5495 /* Assets.xcassets */; }; + 4C4F120527D9055600ED5495 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C4F120327D9055600ED5495 /* MainMenu.xib */; }; + 4C4F120727D9055600ED5495 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4F120627D9055600ED5495 /* main.m */; }; 4C4F72D118DF704400E8D378 /* DDHotKeyTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4F72CF18DF704400E8D378 /* DDHotKeyTextField.m */; }; 4C4FCE15177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4FCE14177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m */; }; 4C50CC041F6C18830095629D /* MPCollectionViewItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C50CC031F6C18830095629D /* MPCollectionViewItem.m */; }; @@ -584,6 +588,14 @@ 4C4BE0C5257E9B91000AEA8C /* MPNotificationPreferencesController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MPNotificationPreferencesController.h; sourceTree = ""; }; 4C4BE0C6257E9B91000AEA8C /* MPNotificationPreferencesController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MPNotificationPreferencesController.m; sourceTree = ""; }; 4C4BE0C7257E9B91000AEA8C /* MPNotificationPreferencesController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MPNotificationPreferencesController.xib; sourceTree = ""; }; + 4C4F11FC27D9055300ED5495 /* AutotypeOverlay.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AutotypeOverlay.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4C4F11FE27D9055300ED5495 /* AOAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AOAppDelegate.h; sourceTree = ""; }; + 4C4F11FF27D9055300ED5495 /* AOAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AOAppDelegate.m; sourceTree = ""; }; + 4C4F120127D9055600ED5495 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 4C4F120427D9055600ED5495 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 4C4F120627D9055600ED5495 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 4C4F120827D9055600ED5495 /* AutotypeOverlay.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = AutotypeOverlay.entitlements; sourceTree = ""; }; + 4C4F120C27D905CE00ED5495 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 4C4F72CF18DF704400E8D378 /* DDHotKeyTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; name = DDHotKeyTextField.m; path = DDHotKey/DDHotKeyTextField.m; sourceTree = ""; tabWidth = 4; }; 4C4F72D018DF704400E8D378 /* DDHotKeyTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DDHotKeyTextField.h; path = DDHotKey/DDHotKeyTextField.h; sourceTree = ""; }; 4C4FCE13177CFE6B00BBF7AE /* MPCustomFieldTableCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPCustomFieldTableCellView.h; sourceTree = ""; }; @@ -1218,6 +1230,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4C4F11F927D9055300ED5495 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 4C77E35F15B84A240093A587 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -1532,6 +1551,20 @@ name = Inspector; sourceTree = ""; }; + 4C4F11FD27D9055300ED5495 /* AutotypeOverlay */ = { + isa = PBXGroup; + children = ( + 4C4F120C27D905CE00ED5495 /* Info.plist */, + 4C4F11FE27D9055300ED5495 /* AOAppDelegate.h */, + 4C4F11FF27D9055300ED5495 /* AOAppDelegate.m */, + 4C4F120127D9055600ED5495 /* Assets.xcassets */, + 4C4F120327D9055600ED5495 /* MainMenu.xib */, + 4C4F120627D9055600ED5495 /* main.m */, + 4C4F120827D9055600ED5495 /* AutotypeOverlay.entitlements */, + ); + path = AutotypeOverlay; + sourceTree = ""; + }; 4C5133861FA0C32C00C94C73 /* Accessory */ = { isa = PBXGroup; children = ( @@ -1650,6 +1683,7 @@ 4C00E33917D8FA3B00F37192 /* DDHotKey */, 4C77E36C15B84A240093A587 /* MacPass */, 4C45FB1E178E09ED0010007D /* MacPassTests */, + 4C4F11FD27D9055300ED5495 /* AutotypeOverlay */, 4C77E36515B84A240093A587 /* Frameworks */, 4C77E36315B84A240093A587 /* Products */, ); @@ -1662,6 +1696,7 @@ children = ( 4C77E36215B84A240093A587 /* MacPass.app */, 4C45FB1A178E09ED0010007D /* MacPassTests.xctest */, + 4C4F11FC27D9055300ED5495 /* AutotypeOverlay.app */, ); name = Products; sourceTree = ""; @@ -2009,6 +2044,23 @@ productReference = 4C45FB1A178E09ED0010007D /* MacPassTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 4C4F11FB27D9055300ED5495 /* AutotypeOverlay */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4C4F120B27D9055600ED5495 /* Build configuration list for PBXNativeTarget "AutotypeOverlay" */; + buildPhases = ( + 4C4F11F827D9055300ED5495 /* Sources */, + 4C4F11F927D9055300ED5495 /* Frameworks */, + 4C4F11FA27D9055300ED5495 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = AutotypeOverlay; + productName = AutotypeOverlay; + productReference = 4C4F11FC27D9055300ED5495 /* AutotypeOverlay.app */; + productType = "com.apple.product-type.application"; + }; 4C77E36115B84A240093A587 /* MacPass */ = { isa = PBXNativeTarget; buildConfigurationList = 4C77E38015B84A240093A587 /* Build configuration list for PBXNativeTarget "MacPass" */; @@ -2038,6 +2090,10 @@ LastUpgradeCheck = 1250; ORGANIZATIONNAME = "HicknHack Software GmbH"; TargetAttributes = { + 4C4F11FB27D9055300ED5495 = { + CreatedOnToolsVersion = 13.2.1; + ProvisioningStyle = Automatic; + }; 4C77E36115B84A240093A587 = { DevelopmentTeam = 55SM4L4Z97; }; @@ -2070,6 +2126,7 @@ targets = ( 4C77E36115B84A240093A587 /* MacPass */, 4C45FB19178E09ED0010007D /* MacPassTests */, + 4C4F11FB27D9055300ED5495 /* AutotypeOverlay */, ); }; /* End PBXProject section */ @@ -2085,6 +2142,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4C4F11FA27D9055300ED5495 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C4F120227D9055600ED5495 /* Assets.xcassets in Resources */, + 4C4F120527D9055600ED5495 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 4C77E36015B84A240093A587 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -2261,6 +2327,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4C4F11F827D9055300ED5495 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C4F120727D9055600ED5495 /* main.m in Sources */, + 4C4F120027D9055300ED5495 /* AOAppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 4C77E35E15B84A240093A587 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -2543,6 +2618,14 @@ name = InfoPlist.strings; sourceTree = ""; }; + 4C4F120327D9055600ED5495 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 4C4F120427D9055600ED5495 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; 4C6DCC471FA2457900C8AD3F /* ContextBar.xib */ = { isa = PBXVariantGroup; children = ( @@ -3138,6 +3221,97 @@ }; name = Release; }; + 4C4F120927D9055600ED5495 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = AutotypeOverlay/AutotypeOverlay.entitlements; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = AutotypeOverlay/Info.plist; + INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 HicknHack Software GmbH. All rights reserved."; + INFOPLIST_KEY_NSMainNibFile = MainMenu; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 11.6; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.hicknhacksoftware.AutotypeOverlay; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_EMIT_LOC_STRINGS = YES; + }; + name = Debug; + }; + 4C4F120A27D9055600ED5495 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = AutotypeOverlay/AutotypeOverlay.entitlements; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = AutotypeOverlay/Info.plist; + INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 HicknHack Software GmbH. All rights reserved."; + INFOPLIST_KEY_NSMainNibFile = MainMenu; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 11.6; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.hicknhacksoftware.AutotypeOverlay; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_EMIT_LOC_STRINGS = YES; + }; + name = Release; + }; 4C77E37E15B84A240093A587 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -3315,6 +3489,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 4C4F120B27D9055600ED5495 /* Build configuration list for PBXNativeTarget "AutotypeOverlay" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4C4F120927D9055600ED5495 /* Debug */, + 4C4F120A27D9055600ED5495 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 4C77E35C15B84A240093A587 /* Build configuration list for PBXProject "MacPass" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/MacPass.xcodeproj/xcshareddata/xcschemes/AutotypeOverlay.xcscheme b/MacPass.xcodeproj/xcshareddata/xcschemes/AutotypeOverlay.xcscheme new file mode 100644 index 00000000..ac965367 --- /dev/null +++ b/MacPass.xcodeproj/xcshareddata/xcschemes/AutotypeOverlay.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +