Skip to content

Commit e4e0aea

Browse files
jushflasher297aleksproger
authored
Add Geofencing to example app (#2084)
Co-authored-by: aleksandr_morozov <[email protected]> Co-authored-by: Aleksei Sapitskii <[email protected]>
1 parent 08008b9 commit e4e0aea

File tree

7 files changed

+560
-36
lines changed

7 files changed

+560
-36
lines changed

Apps/Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
902FD51EC410A1E8BD88941D /* NavigationSimulatorExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A090EE21C9A65BE2697868F /* NavigationSimulatorExample.swift */; platformFilters = (ios, ); };
9696
918F4BDCC25819DD68BC9518 /* LayerSlotExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = D058C94675BB58AE74392829 /* LayerSlotExample.swift */; platformFilters = (ios, ); };
9797
94DB7E8C829041DC5F5B2300 /* InstrumentClusterCarPlaySceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AD7661708AEADD25AB726B4 /* InstrumentClusterCarPlaySceneDelegate.swift */; platformFilters = (ios, ); };
98+
9717811318AAE88DE9214307 /* GeofencingExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F9127909E8758EAC82E19F7 /* GeofencingExample.swift */; platformFilters = (ios, ); };
9899
9A403D6AB6D6336E212726C5 /* CameraAnimatorsExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDABBED8502001D17EF30F35 /* CameraAnimatorsExample.swift */; platformFilters = (ios, ); };
99100
9DFE9DDE63B78393031C843E /* Examples.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B30F4697545D9F02DD4425D /* Examples.swift */; platformFilters = (ios, ); };
100101
A3D7C0836BFE6FEB40C3C15A /* BasicLocationPulsingExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC98E9169E8E7DFE8DC1CB27 /* BasicLocationPulsingExample.swift */; platformFilters = (ios, ); };
@@ -174,6 +175,7 @@
174175
083C452C7342E73F6F16A83C /* OfflineManagerExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OfflineManagerExample.swift; sourceTree = "<group>"; };
175176
0A5C0A3C44715B96D646ACB7 /* PitchAndDistanceExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PitchAndDistanceExample.swift; sourceTree = "<group>"; };
176177
0AD7661708AEADD25AB726B4 /* InstrumentClusterCarPlaySceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InstrumentClusterCarPlaySceneDelegate.swift; sourceTree = "<group>"; };
178+
0F9127909E8758EAC82E19F7 /* GeofencingExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeofencingExample.swift; sourceTree = "<group>"; };
177179
0FBAFDF929532EDB964786F4 /* StandardInteractiveFeaturesExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StandardInteractiveFeaturesExample.swift; sourceTree = "<group>"; };
178180
10C7CEE3F343DF482D428211 /* ExampleProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleProtocol.swift; sourceTree = "<group>"; };
179181
1229327C13654C370B5641FC /* OfflineRegionManagerExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OfflineRegionManagerExample.swift; sourceTree = "<group>"; };
@@ -522,6 +524,7 @@
522524
133E4EABC7540ED460F08B8F /* ExternalVectorSourceExample.swift */,
523525
6239A5CDA61892902765B843 /* FeaturesAtPointExample.swift */,
524526
D3FA795972BB141B9C582ED0 /* FeatureStateExample.swift */,
527+
0F9127909E8758EAC82E19F7 /* GeofencingExample.swift */,
525528
384FD8FC97B9F5011AF4BD61 /* GlobeFlyToExample.swift */,
526529
70922E748D003176C4A3C60A /* HeatmapLayerGlobeExample.swift */,
527530
3BCB1CC4577300FEF4DE017B /* InsetMapExample.swift */,
@@ -860,6 +863,7 @@
860863
FDA4B57BE32D92BB57A5B7E6 /* FeaturesAtPointExample.swift in Sources */,
861864
854CE1A84AADF6FBB232CB5F /* FeaturesQueryExample.swift in Sources */,
862865
AE6E90DB7B6DA4580C2DAB59 /* FrameViewAnnotationsExample.swift in Sources */,
866+
9717811318AAE88DE9214307 /* GeofencingExample.swift in Sources */,
863867
0414AD72988F405F5BA1D843 /* GlobeFlyToExample.swift in Sources */,
864868
49F6209402BF34C06C90107A /* HeatmapLayerGlobeExample.swift in Sources */,
865869
B9B1EE72E6203358F2785916 /* IconSizeChangeExample.swift in Sources */,

Apps/Examples/Examples.xcodeproj/xcshareddata/xcschemes/Examples.xcscheme

Lines changed: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
7-
buildImplicitDependencies = "YES">
7+
buildImplicitDependencies = "YES"
8+
runPostActionsOnFailure = "NO">
89
<BuildActionEntries>
910
<BuildActionEntry
1011
buildForTesting = "YES"
@@ -26,7 +27,17 @@
2627
buildConfiguration = "Debug"
2728
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2829
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "NO">
30+
shouldUseLaunchSchemeArgsEnv = "NO"
31+
onlyGenerateCoverageForSpecifiedTargets = "NO">
32+
<TestPlans>
33+
<TestPlanReference
34+
default = "YES"
35+
reference = "container:../../Tests/TestPlans/Examples.xctestplan">
36+
</TestPlanReference>
37+
<TestPlanReference
38+
reference = "container:../../Tests/TestPlans/Examples no unit tests.xctestplan">
39+
</TestPlanReference>
40+
</TestPlans>
3041
<MacroExpansion>
3142
<BuildableReference
3243
BuildableIdentifier = "primary"
@@ -36,6 +47,30 @@
3647
ReferencedContainer = "container:Examples.xcodeproj">
3748
</BuildableReference>
3849
</MacroExpansion>
50+
<Testables>
51+
<TestableReference
52+
skipped = "NO">
53+
<BuildableReference
54+
BuildableIdentifier = "primary"
55+
BlueprintIdentifier = "542BE47134765F0824559C2F"
56+
BuildableName = "ExamplesTests.xctest"
57+
BlueprintName = "ExamplesTests"
58+
ReferencedContainer = "container:Examples.xcodeproj">
59+
</BuildableReference>
60+
</TestableReference>
61+
<TestableReference
62+
skipped = "NO">
63+
<BuildableReference
64+
BuildableIdentifier = "primary"
65+
BlueprintIdentifier = "F3570A57FF15EEC3B4529EF0"
66+
BuildableName = "ExamplesUITests.xctest"
67+
BlueprintName = "ExamplesUITests"
68+
ReferencedContainer = "container:Examples.xcodeproj">
69+
</BuildableReference>
70+
</TestableReference>
71+
</Testables>
72+
<CommandLineArguments>
73+
</CommandLineArguments>
3974
<EnvironmentVariables>
4075
<EnvironmentVariable
4176
key = "MTL_HUD_ENABLED"
@@ -63,37 +98,6 @@
6398
isEnabled = "YES">
6499
</EnvironmentVariable>
65100
</EnvironmentVariables>
66-
<TestPlans>
67-
<TestPlanReference
68-
reference = "container:../../Tests/TestPlans/Examples.xctestplan"
69-
default = "YES">
70-
</TestPlanReference>
71-
<TestPlanReference
72-
reference = "container:../../Tests/TestPlans/Examples no unit tests.xctestplan">
73-
</TestPlanReference>
74-
</TestPlans>
75-
<Testables>
76-
<TestableReference
77-
skipped = "NO">
78-
<BuildableReference
79-
BuildableIdentifier = "primary"
80-
BlueprintIdentifier = "542BE47134765F0824559C2F"
81-
BuildableName = "ExamplesTests.xctest"
82-
BlueprintName = "ExamplesTests"
83-
ReferencedContainer = "container:Examples.xcodeproj">
84-
</BuildableReference>
85-
</TestableReference>
86-
<TestableReference
87-
skipped = "NO">
88-
<BuildableReference
89-
BuildableIdentifier = "primary"
90-
BlueprintIdentifier = "F3570A57FF15EEC3B4529EF0"
91-
BuildableName = "ExamplesUITests.xctest"
92-
BlueprintName = "ExamplesUITests"
93-
ReferencedContainer = "container:Examples.xcodeproj">
94-
</BuildableReference>
95-
</TestableReference>
96-
</Testables>
97101
</TestAction>
98102
<LaunchAction
99103
buildConfiguration = "Debug"
@@ -115,6 +119,8 @@
115119
ReferencedContainer = "container:Examples.xcodeproj">
116120
</BuildableReference>
117121
</BuildableProductRunnable>
122+
<CommandLineArguments>
123+
</CommandLineArguments>
118124
<EnvironmentVariables>
119125
<EnvironmentVariable
120126
key = "MTL_HUD_ENABLED"
@@ -159,6 +165,8 @@
159165
ReferencedContainer = "container:Examples.xcodeproj">
160166
</BuildableReference>
161167
</BuildableProductRunnable>
168+
<CommandLineArguments>
169+
</CommandLineArguments>
162170
<EnvironmentVariables>
163171
<EnvironmentVariable
164172
key = "MTL_HUD_ENABLED"

0 commit comments

Comments
 (0)