Skip to content

Commit b04bdd0

Browse files
authored
[macOS] Adds macOS project files to layers example (#102539)
Adds macOS support to the layers examples collection. Issue: flutter/flutter#84306
1 parent 7384644 commit b04bdd0

21 files changed

+1178
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ unlinked_spec.ds
101101
**/ios/Runner/GeneratedPluginRegistrant.*
102102

103103
# macOS
104+
**/Flutter/ephemeral/
105+
**/Pods/
104106
**/macos/Flutter/GeneratedPluginRegistrant.swift
105107
**/macos/Flutter/ephemeral
108+
**/xcuserdata/
106109

107110
# Coverage
108111
coverage/

examples/layers/.metadata

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled.
5+
6+
version:
7+
revision: 4d7cb4c5e93170bcac6617c1810a3945eef72468
8+
channel: unknown
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 4d7cb4c5e93170bcac6617c1810a3945eef72468
17+
base_revision: 4d7cb4c5e93170bcac6617c1810a3945eef72468
18+
- platform: macos
19+
create_revision: 4d7cb4c5e93170bcac6617c1810a3945eef72468
20+
base_revision: 4d7cb4c5e93170bcac6617c1810a3945eef72468
21+
22+
# User provided section
23+
24+
# List of Local paths (relative to this file) that should be
25+
# ignored by the migrate tool.
26+
#
27+
# Files that are not part of the templates will be ignored by default.
28+
unmanaged_files:
29+
- 'lib/main.dart'
30+
- 'ios/Runner.xcodeproj/project.pbxproj'

examples/layers/ios/Runner.xcodeproj/project.pbxproj

-3
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@
295295
isa = XCBuildConfiguration;
296296
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
297297
buildSettings = {
298-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
299298
ENABLE_BITCODE = NO;
300299
INFOPLIST_FILE = Runner/Info.plist;
301300
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -412,7 +411,6 @@
412411
isa = XCBuildConfiguration;
413412
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
414413
buildSettings = {
415-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
416414
ENABLE_BITCODE = NO;
417415
INFOPLIST_FILE = Runner/Info.plist;
418416
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -425,7 +423,6 @@
425423
isa = XCBuildConfiguration;
426424
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
427425
buildSettings = {
428-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
429426
ENABLE_BITCODE = NO;
430427
INFOPLIST_FILE = Runner/Info.plist;
431428
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "ephemeral/Flutter-Generated.xcconfig"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "ephemeral/Flutter-Generated.xcconfig"

0 commit comments

Comments
 (0)