Skip to content

Commit 7694081

Browse files
authored
Move examples to the root public folder (#2380)
1 parent d1963a3 commit 7694081

File tree

249 files changed

+90
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+90
-203
lines changed

.depsvalidator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manifests:
77
- MapboxCoreMaps
88
- MapboxCommon
99
- type: Package.resolved
10-
path: Apps/Apps.xcworkspace/xcshareddata/swiftpm/Package.resolved
10+
path: Examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
1111
omit_for:
1212
# Temporarily disabled since we use .binaryTarget instead of SPM dependency for MapboxCoreMaps
1313
- MapboxCoreMaps

.fastlane/Fastfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,22 @@ platform :ios do
3939
sync_code_signing
4040
update_code_signing_settings(
4141
use_automatic_signing: false,
42-
path: "Apps/Examples/Examples.xcodeproj",
42+
path: "Examples.xcodeproj",
4343
team_id: "GJZR2MEM28", # Developer Portal Team ID,
4444
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["mapbox.ExamplesUITests.xctrunner"],
4545
targets: ["ExamplesUITests"],
4646
code_sign_identity: "Apple Development: Created via API",
4747
)
4848
update_code_signing_settings(
4949
use_automatic_signing: false,
50-
path: "Apps/Examples/Examples.xcodeproj",
50+
path: "Examples.xcodeproj",
5151
team_id: "GJZR2MEM28", # Developer Portal Team ID,
5252
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.examples"],
5353
targets: ["Examples"],
5454
code_sign_identity: "Apple Development: Created via API",
5555
)
5656
run_tests(
57-
workspace: 'Apps/Apps.xcworkspace',
57+
project: 'Examples.xcodeproj',
5858
scheme: 'Examples', # XCTest scheme
5959
clean: true, # Recommended: This would ensure the build would not include unnecessary files
6060
# Use the Debug mode here to avoid the compiler crash
@@ -99,7 +99,7 @@ platform :ios do
9999
api_key_if_needed # Generate API Token
100100
increment_build_number(
101101
build_number: latest_testflight_build_number + 1,
102-
xcodeproj: 'Apps/Examples/Examples.xcodeproj'
102+
xcodeproj: 'Examples.xcodeproj'
103103
)
104104
build_and_submit
105105
end
@@ -111,7 +111,7 @@ platform :ios do
111111
sync_code_signing(type: "development")
112112
update_code_signing_settings(
113113
use_automatic_signing: false,
114-
path: "Apps/Examples/Examples.xcodeproj",
114+
path: "Examples.xcodeproj",
115115
team_id: "GJZR2MEM28", # Developer Portal Team ID,
116116
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.examples"],
117117
targets: ["Examples"],
@@ -121,7 +121,7 @@ platform :ios do
121121
sync_code_signing(type: "appstore")
122122
build_app(
123123
scheme: "Examples",
124-
workspace: "Apps/Apps.xcworkspace",
124+
project: "Examples.xcodeproj",
125125
xcargs: "SWIFT_TREAT_WARNINGS_AS_ERRORS=NO COMPILER_INDEX_STORE_ENABLE=NO" # Disable to bypass Deprecated error on OfflineManager example
126126
)
127127
upload_to_testflight(

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
analyze:
1313
uses: ./.github/workflows/analyze.yml
1414
with:
15-
project-path: Apps/Examples/Examples.xcodeproj
15+
project-path: Examples.xcodeproj
1616
secrets: inherit

Apps/Apps.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 10 deletions
This file was deleted.

Apps/Apps.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

Lines changed: 0 additions & 8 deletions
This file was deleted.

Apps/Examples/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

Apps/Examples/README.md

Lines changed: 0 additions & 110 deletions
This file was deleted.
-477 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ That initializer doesn't require to wrap arguments in `Argument` cases. For exam
4141
## 11.8.0-beta.1 - 14 October, 2024
4242

4343
* [SwiftUI] Fixed crash when ForEvery was used with duplicated IDs.
44-
* Introduce experimental Geofencing API. Implementation example: [GeofencingExample.swift](Apps/Examples/Examples/All%20Examples/GeofencingExample.swift)
44+
* Introduce experimental Geofencing API. Implementation example: [GeofencingExample.swift](Sources/Examples/All%20Examples/GeofencingExample.swift)
4545
* Refactor of the experimental Interactions and Featuresets API:
4646
- `InteractiveFeature` is renamed to `FeaturesetFeature`.
4747
- Introduce new `StandardPoiFeature`, `StandardBuildingsFeature`, `StandardPlaceLabelsFeature`.

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ own `UIWindow` and root view controller, before adding the MapView to it.
148148
149149
## Making an Example
150150
151-
* Check out this [doc](https://github.com/mapbox/mapbox-maps-ios/blob/main/Apps/Examples/README.md)
151+
* Check out this [project](https://github.com/mapbox/mapbox-maps-ios/blob/main/Examples.xcodeproj)
152152
to get more information about adding examples to our project.
153153
154154
## Tracing map performance

0 commit comments

Comments
 (0)