From 6b561158b1a5580ddaf6d6141cb0e58cafd81302 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Sat, 5 Dec 2020 15:22:27 +1100 Subject: [PATCH] Update macOS desktop sample (#609) --- .../macos/Runner.xcodeproj/project.pbxproj | 7 ++--- .../xcshareddata/xcschemes/Runner.xcscheme | 28 ++++++++----------- .../macos/Runner/Base.lproj/MainMenu.xib | 14 ++++++---- .../desktop_photo_search/pubspec.lock | 4 +-- 4 files changed, 25 insertions(+), 28 deletions(-) diff --git a/experimental/desktop_photo_search/macos/Runner.xcodeproj/project.pbxproj b/experimental/desktop_photo_search/macos/Runner.xcodeproj/project.pbxproj index e23a2ac0d..6f315f16e 100644 --- a/experimental/desktop_photo_search/macos/Runner.xcodeproj/project.pbxproj +++ b/experimental/desktop_photo_search/macos/Runner.xcodeproj/project.pbxproj @@ -62,7 +62,7 @@ 084065FB8F5BB7ECA48CB120 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* desktop_photo_search.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = desktop_photo_search.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10ED2044A3C60003C045 /* Photo Search.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Photo Search.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; @@ -122,7 +122,7 @@ 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( - 33CC10ED2044A3C60003C045 /* desktop_photo_search.app */, + 33CC10ED2044A3C60003C045 /* Photo Search.app */, ); name = Products; sourceTree = ""; @@ -171,7 +171,6 @@ 420F3BBE32D920ACAFF2210B /* Pods-Runner.release.xcconfig */, F4698A353FF15CC75800DADA /* Pods-Runner.profile.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -205,7 +204,7 @@ ); name = Runner; productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* desktop_photo_search.app */; + productReference = 33CC10ED2044A3C60003C045 /* Photo Search.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ diff --git a/experimental/desktop_photo_search/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/experimental/desktop_photo_search/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a99c03f90..911125fc4 100644 --- a/experimental/desktop_photo_search/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/experimental/desktop_photo_search/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -15,7 +15,7 @@ @@ -27,6 +27,15 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + @@ -39,17 +48,6 @@ - - - - - - - - diff --git a/experimental/desktop_photo_search/macos/Runner/Base.lproj/MainMenu.xib b/experimental/desktop_photo_search/macos/Runner/Base.lproj/MainMenu.xib index 537341abf..62091a133 100644 --- a/experimental/desktop_photo_search/macos/Runner/Base.lproj/MainMenu.xib +++ b/experimental/desktop_photo_search/macos/Runner/Base.lproj/MainMenu.xib @@ -1,8 +1,9 @@ - + + - + @@ -13,7 +14,7 @@ - + @@ -326,14 +327,15 @@ - - + + - + + diff --git a/experimental/desktop_photo_search/pubspec.lock b/experimental/desktop_photo_search/pubspec.lock index 181b086b6..602bc2e73 100644 --- a/experimental/desktop_photo_search/pubspec.lock +++ b/experimental/desktop_photo_search/pubspec.lock @@ -223,7 +223,7 @@ packages: description: path: "plugins/file_chooser" ref: HEAD - resolved-ref: dc12db8bcbba6b868b884e4a143d4f843158d7ab + resolved-ref: "040f36c82b63e8764ec2fd97066767503a667b6d" url: "https://github.com/google/flutter-desktop-embedding.git" source: git version: "0.2.0" @@ -352,7 +352,7 @@ packages: description: path: "plugins/menubar" ref: HEAD - resolved-ref: dc12db8bcbba6b868b884e4a143d4f843158d7ab + resolved-ref: "040f36c82b63e8764ec2fd97066767503a667b6d" url: "https://github.com/google/flutter-desktop-embedding.git" source: git version: "0.1.0"