├── Maps
├── Assets.xcassets
│ ├── Contents.json
│ ├── AccentColor.colorset
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Preview Content
│ └── Preview Assets.xcassets
│ │ └── Contents.json
├── MapsApp.swift
├── Maps.entitlements
├── Info.plist
└── ContentView.swift
├── README.md
└── Maps.xcodeproj
├── project.xcworkspace
├── contents.xcworkspacedata
├── xcuserdata
│ └── jordansinger.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
└── xcshareddata
│ └── IDEWorkspaceChecks.plist
├── xcuserdata
└── jordansinger.xcuserdatad
│ └── xcschemes
│ └── xcschememanagement.plist
└── project.pbxproj
/Maps/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Maps/Preview Content/Preview Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Example macOS Big Sur Maps app built in SwiftUI
2 |
3 | 
4 |
--------------------------------------------------------------------------------
/Maps.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Maps/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Maps.xcodeproj/project.xcworkspace/xcuserdata/jordansinger.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jordansinger/maps-macos-swiftui-sample/HEAD/Maps.xcodeproj/project.xcworkspace/xcuserdata/jordansinger.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Maps/MapsApp.swift:
--------------------------------------------------------------------------------
1 | //
2 | // MapsApp.swift
3 | // Maps
4 | //
5 | // Created by Jordan Singer on 7/13/20.
6 | //
7 |
8 | import SwiftUI
9 |
10 | @main
11 | struct MapsApp: App {
12 | var body: some Scene {
13 | WindowGroup {
14 | ContentView()
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Maps.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Maps/Maps.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.files.user-selected.read-only
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Maps.xcodeproj/xcuserdata/jordansinger.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Maps.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Maps/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSMinimumSystemVersion
22 | $(MACOSX_DEPLOYMENT_TARGET)
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Maps/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "mac",
5 | "scale" : "1x",
6 | "size" : "16x16"
7 | },
8 | {
9 | "idiom" : "mac",
10 | "scale" : "2x",
11 | "size" : "16x16"
12 | },
13 | {
14 | "idiom" : "mac",
15 | "scale" : "1x",
16 | "size" : "32x32"
17 | },
18 | {
19 | "idiom" : "mac",
20 | "scale" : "2x",
21 | "size" : "32x32"
22 | },
23 | {
24 | "idiom" : "mac",
25 | "scale" : "1x",
26 | "size" : "128x128"
27 | },
28 | {
29 | "idiom" : "mac",
30 | "scale" : "2x",
31 | "size" : "128x128"
32 | },
33 | {
34 | "idiom" : "mac",
35 | "scale" : "1x",
36 | "size" : "256x256"
37 | },
38 | {
39 | "idiom" : "mac",
40 | "scale" : "2x",
41 | "size" : "256x256"
42 | },
43 | {
44 | "idiom" : "mac",
45 | "scale" : "1x",
46 | "size" : "512x512"
47 | },
48 | {
49 | "idiom" : "mac",
50 | "scale" : "2x",
51 | "size" : "512x512"
52 | }
53 | ],
54 | "info" : {
55 | "author" : "xcode",
56 | "version" : 1
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Maps/ContentView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ContentView.swift
3 | // Maps
4 | //
5 | // Created by Jordan Singer on 7/13/20.
6 | //
7 |
8 | import SwiftUI
9 | import MapKit
10 |
11 | struct ContentView: View {
12 | @State private var region = MKCoordinateRegion(center: CLLocationCoordinate2D(latitude: 40.7128, longitude: -74.0060), span: MKCoordinateSpan(latitudeDelta: 0.01, longitudeDelta: 0.01))
13 |
14 | var body: some View {
15 | NavigationView {
16 | Sidebar()
17 | Map(coordinateRegion: $region)
18 | }
19 | .navigationTitle("New York, NY")
20 | .toolbar {
21 | ToolbarItem(placement: .navigation) {
22 | Button(action: { }) {
23 | Image(systemName: "sidebar.left")
24 | }
25 | }
26 |
27 | ToolbarItem(placement: .status) {
28 | Button(action: { }) {
29 | Image(systemName: "location")
30 | }
31 | }
32 |
33 | ToolbarItem(placement: .status) {
34 | Button(action: { }) {
35 | Image(systemName: "map")
36 | }
37 | }
38 |
39 | ToolbarItem(placement: .status) {
40 | Button(action: { }) {
41 | Image(systemName: "view.3d")
42 | }
43 | }
44 |
45 | ToolbarItem(placement: .status) {
46 | Button(action: { }) {
47 | Image(systemName: "binoculars")
48 | }
49 | }
50 |
51 | ToolbarItem(placement: .status) {
52 | Button(action: { }) {
53 | Image(systemName: "arrowshape.turn.up.right.circle")
54 | }
55 | }
56 |
57 | ToolbarItem(placement: .status) {
58 | Button(action: { }) {
59 | Image(systemName: "plus")
60 | }
61 | }
62 |
63 | ToolbarItem(placement: .status) {
64 | Button(action: { }) {
65 | Image(systemName: "square.and.arrow.up")
66 | }
67 | }
68 | }
69 | }
70 | }
71 |
72 | struct Sidebar: View {
73 | @State private var search = ""
74 |
75 | var body: some View {
76 | VStack {
77 | SearchField(text: $search)
78 | .padding(.horizontal)
79 |
80 | List {
81 | Text("Favorites")
82 | .font(.subheadline)
83 | .fontWeight(.semibold)
84 | .foregroundColor(.secondary)
85 | VStack(alignment: .leading, spacing: 0) {
86 | FavoriteView(title: "Home", subtitle: "Nearby", icon: "house.fill", color: .blue)
87 | FavoriteView(title: "Work", subtitle: "23 min drive", icon: "briefcase.fill", color: .orange)
88 | FavoriteView(title: "Coffee Co.", subtitle: "22 min drive", icon: "mappin", color: .red)
89 | }
90 | .padding(.bottom)
91 |
92 | Text("My Guides")
93 | .font(.subheadline)
94 | .fontWeight(.semibold)
95 | .foregroundColor(.secondary)
96 | VStack(alignment: .leading, spacing: 0) {
97 | FavoriteView(title: "Beach Spots", subtitle: "9 places", icon: "mappin", color: .blue)
98 | FavoriteView(title: "Best Parks", subtitle: "3 places", icon: "mappin", color: .green)
99 | FavoriteView(title: "Hiking", subtitle: "8 places", icon: "map", color: .green)
100 | FavoriteView(title: "New York City", subtitle: "23 places", icon: "figure.wave", color: .yellow)
101 | }
102 | }
103 | }
104 | .listStyle(SidebarListStyle())
105 | .frame(minWidth: 192, idealWidth: 192, maxWidth: 192, maxHeight: .infinity)
106 | }
107 | }
108 |
109 | struct FavoriteView: View {
110 | var title: String
111 | var subtitle: String
112 | var icon: String
113 | var color: Color
114 |
115 | var body: some View {
116 | HStack(spacing: 8) {
117 | Circle()
118 | .frame(width: 32, height: 32)
119 | .foregroundColor(color)
120 | .overlay(
121 | Image(systemName: icon)
122 | .resizable()
123 | .aspectRatio(contentMode: .fit)
124 | .frame(width: 16, height: 16)
125 | .foregroundColor(.white)
126 | )
127 |
128 | VStack(alignment: .leading) {
129 | Text(title)
130 | Text(subtitle)
131 | .font(.callout)
132 | .foregroundColor(.secondary)
133 | }
134 | }
135 | .padding(.vertical, 6)
136 | }
137 | }
138 |
139 | struct SearchField: NSViewRepresentable {
140 | @Binding var text: String
141 |
142 | func makeNSView(context: Context) -> NSSearchField {
143 | let textField = NSSearchField()
144 | return textField
145 | }
146 | func updateNSView(_ nsView: NSSearchField, context: Context) {
147 | nsView.stringValue = text
148 | }
149 | }
150 |
151 | struct ContentView_Previews: PreviewProvider {
152 | static var previews: some View {
153 | ContentView()
154 | }
155 | }
156 |
--------------------------------------------------------------------------------
/Maps.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 86F493B624BD100E00AB8A28 /* MapsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86F493B524BD100E00AB8A28 /* MapsApp.swift */; };
11 | 86F493B824BD100E00AB8A28 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86F493B724BD100E00AB8A28 /* ContentView.swift */; };
12 | 86F493BA24BD101000AB8A28 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 86F493B924BD101000AB8A28 /* Assets.xcassets */; };
13 | 86F493BD24BD101000AB8A28 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 86F493BC24BD101000AB8A28 /* Preview Assets.xcassets */; };
14 | /* End PBXBuildFile section */
15 |
16 | /* Begin PBXFileReference section */
17 | 86F493B224BD100E00AB8A28 /* Maps.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Maps.app; sourceTree = BUILT_PRODUCTS_DIR; };
18 | 86F493B524BD100E00AB8A28 /* MapsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapsApp.swift; sourceTree = ""; };
19 | 86F493B724BD100E00AB8A28 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; };
20 | 86F493B924BD101000AB8A28 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
21 | 86F493BC24BD101000AB8A28 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; };
22 | 86F493BE24BD101000AB8A28 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
23 | 86F493BF24BD101000AB8A28 /* Maps.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Maps.entitlements; sourceTree = ""; };
24 | /* End PBXFileReference section */
25 |
26 | /* Begin PBXFrameworksBuildPhase section */
27 | 86F493AF24BD100E00AB8A28 /* Frameworks */ = {
28 | isa = PBXFrameworksBuildPhase;
29 | buildActionMask = 2147483647;
30 | files = (
31 | );
32 | runOnlyForDeploymentPostprocessing = 0;
33 | };
34 | /* End PBXFrameworksBuildPhase section */
35 |
36 | /* Begin PBXGroup section */
37 | 86F493A924BD100E00AB8A28 = {
38 | isa = PBXGroup;
39 | children = (
40 | 86F493B424BD100E00AB8A28 /* Maps */,
41 | 86F493B324BD100E00AB8A28 /* Products */,
42 | );
43 | sourceTree = "";
44 | };
45 | 86F493B324BD100E00AB8A28 /* Products */ = {
46 | isa = PBXGroup;
47 | children = (
48 | 86F493B224BD100E00AB8A28 /* Maps.app */,
49 | );
50 | name = Products;
51 | sourceTree = "";
52 | };
53 | 86F493B424BD100E00AB8A28 /* Maps */ = {
54 | isa = PBXGroup;
55 | children = (
56 | 86F493B524BD100E00AB8A28 /* MapsApp.swift */,
57 | 86F493B724BD100E00AB8A28 /* ContentView.swift */,
58 | 86F493B924BD101000AB8A28 /* Assets.xcassets */,
59 | 86F493BE24BD101000AB8A28 /* Info.plist */,
60 | 86F493BF24BD101000AB8A28 /* Maps.entitlements */,
61 | 86F493BB24BD101000AB8A28 /* Preview Content */,
62 | );
63 | path = Maps;
64 | sourceTree = "";
65 | };
66 | 86F493BB24BD101000AB8A28 /* Preview Content */ = {
67 | isa = PBXGroup;
68 | children = (
69 | 86F493BC24BD101000AB8A28 /* Preview Assets.xcassets */,
70 | );
71 | path = "Preview Content";
72 | sourceTree = "";
73 | };
74 | /* End PBXGroup section */
75 |
76 | /* Begin PBXNativeTarget section */
77 | 86F493B124BD100E00AB8A28 /* Maps */ = {
78 | isa = PBXNativeTarget;
79 | buildConfigurationList = 86F493C224BD101000AB8A28 /* Build configuration list for PBXNativeTarget "Maps" */;
80 | buildPhases = (
81 | 86F493AE24BD100E00AB8A28 /* Sources */,
82 | 86F493AF24BD100E00AB8A28 /* Frameworks */,
83 | 86F493B024BD100E00AB8A28 /* Resources */,
84 | );
85 | buildRules = (
86 | );
87 | dependencies = (
88 | );
89 | name = Maps;
90 | productName = Maps;
91 | productReference = 86F493B224BD100E00AB8A28 /* Maps.app */;
92 | productType = "com.apple.product-type.application";
93 | };
94 | /* End PBXNativeTarget section */
95 |
96 | /* Begin PBXProject section */
97 | 86F493AA24BD100E00AB8A28 /* Project object */ = {
98 | isa = PBXProject;
99 | attributes = {
100 | LastSwiftUpdateCheck = 1200;
101 | LastUpgradeCheck = 1200;
102 | TargetAttributes = {
103 | 86F493B124BD100E00AB8A28 = {
104 | CreatedOnToolsVersion = 12.0;
105 | };
106 | };
107 | };
108 | buildConfigurationList = 86F493AD24BD100E00AB8A28 /* Build configuration list for PBXProject "Maps" */;
109 | compatibilityVersion = "Xcode 9.3";
110 | developmentRegion = en;
111 | hasScannedForEncodings = 0;
112 | knownRegions = (
113 | en,
114 | Base,
115 | );
116 | mainGroup = 86F493A924BD100E00AB8A28;
117 | productRefGroup = 86F493B324BD100E00AB8A28 /* Products */;
118 | projectDirPath = "";
119 | projectRoot = "";
120 | targets = (
121 | 86F493B124BD100E00AB8A28 /* Maps */,
122 | );
123 | };
124 | /* End PBXProject section */
125 |
126 | /* Begin PBXResourcesBuildPhase section */
127 | 86F493B024BD100E00AB8A28 /* Resources */ = {
128 | isa = PBXResourcesBuildPhase;
129 | buildActionMask = 2147483647;
130 | files = (
131 | 86F493BD24BD101000AB8A28 /* Preview Assets.xcassets in Resources */,
132 | 86F493BA24BD101000AB8A28 /* Assets.xcassets in Resources */,
133 | );
134 | runOnlyForDeploymentPostprocessing = 0;
135 | };
136 | /* End PBXResourcesBuildPhase section */
137 |
138 | /* Begin PBXSourcesBuildPhase section */
139 | 86F493AE24BD100E00AB8A28 /* Sources */ = {
140 | isa = PBXSourcesBuildPhase;
141 | buildActionMask = 2147483647;
142 | files = (
143 | 86F493B824BD100E00AB8A28 /* ContentView.swift in Sources */,
144 | 86F493B624BD100E00AB8A28 /* MapsApp.swift in Sources */,
145 | );
146 | runOnlyForDeploymentPostprocessing = 0;
147 | };
148 | /* End PBXSourcesBuildPhase section */
149 |
150 | /* Begin XCBuildConfiguration section */
151 | 86F493C024BD101000AB8A28 /* Debug */ = {
152 | isa = XCBuildConfiguration;
153 | buildSettings = {
154 | ALWAYS_SEARCH_USER_PATHS = NO;
155 | CLANG_ANALYZER_NONNULL = YES;
156 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
157 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
158 | CLANG_CXX_LIBRARY = "libc++";
159 | CLANG_ENABLE_MODULES = YES;
160 | CLANG_ENABLE_OBJC_ARC = YES;
161 | CLANG_ENABLE_OBJC_WEAK = YES;
162 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
163 | CLANG_WARN_BOOL_CONVERSION = YES;
164 | CLANG_WARN_COMMA = YES;
165 | CLANG_WARN_CONSTANT_CONVERSION = YES;
166 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
167 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
168 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
169 | CLANG_WARN_EMPTY_BODY = YES;
170 | CLANG_WARN_ENUM_CONVERSION = YES;
171 | CLANG_WARN_INFINITE_RECURSION = YES;
172 | CLANG_WARN_INT_CONVERSION = YES;
173 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
174 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
175 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
176 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
177 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
178 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
179 | CLANG_WARN_STRICT_PROTOTYPES = YES;
180 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
181 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
182 | CLANG_WARN_UNREACHABLE_CODE = YES;
183 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
184 | COPY_PHASE_STRIP = NO;
185 | DEBUG_INFORMATION_FORMAT = dwarf;
186 | ENABLE_STRICT_OBJC_MSGSEND = YES;
187 | ENABLE_TESTABILITY = YES;
188 | GCC_C_LANGUAGE_STANDARD = gnu11;
189 | GCC_DYNAMIC_NO_PIC = NO;
190 | GCC_NO_COMMON_BLOCKS = YES;
191 | GCC_OPTIMIZATION_LEVEL = 0;
192 | GCC_PREPROCESSOR_DEFINITIONS = (
193 | "DEBUG=1",
194 | "$(inherited)",
195 | );
196 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
197 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
198 | GCC_WARN_UNDECLARED_SELECTOR = YES;
199 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
200 | GCC_WARN_UNUSED_FUNCTION = YES;
201 | GCC_WARN_UNUSED_VARIABLE = YES;
202 | MACOSX_DEPLOYMENT_TARGET = 10.16;
203 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
204 | MTL_FAST_MATH = YES;
205 | ONLY_ACTIVE_ARCH = YES;
206 | SDKROOT = macosx;
207 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
208 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
209 | };
210 | name = Debug;
211 | };
212 | 86F493C124BD101000AB8A28 /* Release */ = {
213 | isa = XCBuildConfiguration;
214 | buildSettings = {
215 | ALWAYS_SEARCH_USER_PATHS = NO;
216 | CLANG_ANALYZER_NONNULL = YES;
217 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
218 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
219 | CLANG_CXX_LIBRARY = "libc++";
220 | CLANG_ENABLE_MODULES = YES;
221 | CLANG_ENABLE_OBJC_ARC = YES;
222 | CLANG_ENABLE_OBJC_WEAK = YES;
223 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
224 | CLANG_WARN_BOOL_CONVERSION = YES;
225 | CLANG_WARN_COMMA = YES;
226 | CLANG_WARN_CONSTANT_CONVERSION = YES;
227 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
228 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
229 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
230 | CLANG_WARN_EMPTY_BODY = YES;
231 | CLANG_WARN_ENUM_CONVERSION = YES;
232 | CLANG_WARN_INFINITE_RECURSION = YES;
233 | CLANG_WARN_INT_CONVERSION = YES;
234 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
235 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
236 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
237 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
238 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
239 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
240 | CLANG_WARN_STRICT_PROTOTYPES = YES;
241 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
242 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
243 | CLANG_WARN_UNREACHABLE_CODE = YES;
244 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
245 | COPY_PHASE_STRIP = NO;
246 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
247 | ENABLE_NS_ASSERTIONS = NO;
248 | ENABLE_STRICT_OBJC_MSGSEND = YES;
249 | GCC_C_LANGUAGE_STANDARD = gnu11;
250 | GCC_NO_COMMON_BLOCKS = YES;
251 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
252 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
253 | GCC_WARN_UNDECLARED_SELECTOR = YES;
254 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
255 | GCC_WARN_UNUSED_FUNCTION = YES;
256 | GCC_WARN_UNUSED_VARIABLE = YES;
257 | MACOSX_DEPLOYMENT_TARGET = 10.16;
258 | MTL_ENABLE_DEBUG_INFO = NO;
259 | MTL_FAST_MATH = YES;
260 | SDKROOT = macosx;
261 | SWIFT_COMPILATION_MODE = wholemodule;
262 | SWIFT_OPTIMIZATION_LEVEL = "-O";
263 | };
264 | name = Release;
265 | };
266 | 86F493C324BD101000AB8A28 /* Debug */ = {
267 | isa = XCBuildConfiguration;
268 | buildSettings = {
269 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
270 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
271 | CODE_SIGN_ENTITLEMENTS = Maps/Maps.entitlements;
272 | CODE_SIGN_STYLE = Automatic;
273 | COMBINE_HIDPI_IMAGES = YES;
274 | DEVELOPMENT_ASSET_PATHS = "\"Maps/Preview Content\"";
275 | ENABLE_PREVIEWS = YES;
276 | INFOPLIST_FILE = Maps/Info.plist;
277 | LD_RUNPATH_SEARCH_PATHS = (
278 | "$(inherited)",
279 | "@executable_path/../Frameworks",
280 | );
281 | MACOSX_DEPLOYMENT_TARGET = 10.16;
282 | PRODUCT_BUNDLE_IDENTIFIER = example.Maps;
283 | PRODUCT_NAME = "$(TARGET_NAME)";
284 | SWIFT_VERSION = 5.0;
285 | };
286 | name = Debug;
287 | };
288 | 86F493C424BD101000AB8A28 /* Release */ = {
289 | isa = XCBuildConfiguration;
290 | buildSettings = {
291 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
292 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
293 | CODE_SIGN_ENTITLEMENTS = Maps/Maps.entitlements;
294 | CODE_SIGN_STYLE = Automatic;
295 | COMBINE_HIDPI_IMAGES = YES;
296 | DEVELOPMENT_ASSET_PATHS = "\"Maps/Preview Content\"";
297 | ENABLE_PREVIEWS = YES;
298 | INFOPLIST_FILE = Maps/Info.plist;
299 | LD_RUNPATH_SEARCH_PATHS = (
300 | "$(inherited)",
301 | "@executable_path/../Frameworks",
302 | );
303 | MACOSX_DEPLOYMENT_TARGET = 10.16;
304 | PRODUCT_BUNDLE_IDENTIFIER = example.Maps;
305 | PRODUCT_NAME = "$(TARGET_NAME)";
306 | SWIFT_VERSION = 5.0;
307 | };
308 | name = Release;
309 | };
310 | /* End XCBuildConfiguration section */
311 |
312 | /* Begin XCConfigurationList section */
313 | 86F493AD24BD100E00AB8A28 /* Build configuration list for PBXProject "Maps" */ = {
314 | isa = XCConfigurationList;
315 | buildConfigurations = (
316 | 86F493C024BD101000AB8A28 /* Debug */,
317 | 86F493C124BD101000AB8A28 /* Release */,
318 | );
319 | defaultConfigurationIsVisible = 0;
320 | defaultConfigurationName = Release;
321 | };
322 | 86F493C224BD101000AB8A28 /* Build configuration list for PBXNativeTarget "Maps" */ = {
323 | isa = XCConfigurationList;
324 | buildConfigurations = (
325 | 86F493C324BD101000AB8A28 /* Debug */,
326 | 86F493C424BD101000AB8A28 /* Release */,
327 | );
328 | defaultConfigurationIsVisible = 0;
329 | defaultConfigurationName = Release;
330 | };
331 | /* End XCConfigurationList section */
332 | };
333 | rootObject = 86F493AA24BD100E00AB8A28 /* Project object */;
334 | }
335 |
--------------------------------------------------------------------------------