Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-picking updates from main to release-v2.18 #4631

Merged
merged 31 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bbbfac3
Use camera options to calculate zoom for overview camera (#4593)
kried Feb 9, 2024
43fd0c9
Create dependabot.yml
ThibaudLopez Feb 12, 2024
55dd5f4
Merge pull request #4594 from mapbox/ThibaudLopez-patch-1
ThibaudLopez Feb 13, 2024
041ad69
Bump actions/checkout from 3 to 4
dependabot[bot] Feb 13, 2024
4868c2d
Bump github/codeql-action from 2 to 3
dependabot[bot] Feb 13, 2024
498d9c8
Merge pull request #4596 from mapbox/dependabot/github_actions/action…
ThibaudLopez Feb 13, 2024
24c2fc8
Merge branch 'main' into dependabot/github_actions/github/codeql-acti…
ThibaudLopez Feb 13, 2024
33275ec
Merge pull request #4597 from mapbox/dependabot/github_actions/github…
ThibaudLopez Feb 13, 2024
fb0a314
Fixed the possible situation when the upcoming route leg is rendered …
kried Feb 16, 2024
c09a4b8
Add the ability to set locale for top and bottom banner views (#4595)
kried Feb 16, 2024
c69cacd
Implement configurable waypoints in CarPlayDelegate
chizhavko Mar 11, 2024
8649266
Update Tests/MapboxNavigationTests/CarPlayUtils.swift
chizhavko Mar 11, 2024
9b58b55
Update CHANGELOG.md
chizhavko Mar 11, 2024
c8859dc
Merge pull request #4606 from mapbox/chizhavko/update-delegate-method…
chizhavko Mar 11, 2024
dc90edc
Update dependencies (#4614)
kried Mar 13, 2024
38b45ba
Fix SystemSpeechSynthesizer related main thread hang on NavigationVie…
azarovalex Mar 27, 2024
42d6a2d
Improve error handing in case of invalid route responses (#4618)
azarovalex Mar 27, 2024
ac14229
Fix Examples signing when building on a real device (#4619)
azarovalex Mar 29, 2024
0911fa8
Fix carplay background maneuver card
chizhavko Apr 2, 2024
8a39ede
Fix method annotation and desctiption
chizhavko Apr 3, 2024
3dbecab
Update changelog
chizhavko Apr 3, 2024
f627305
Fix compile errors
chizhavko Apr 3, 2024
f47536f
Update breaking changes list
chizhavko Apr 3, 2024
f2c0f49
Merge pull request #4621 from mapbox/fix-carplay-background-car
chizhavko Apr 3, 2024
c499fb9
Update changelog
chizhavko Apr 3, 2024
b0ecc58
Update spelling
chizhavko Apr 3, 2024
6bdc746
Fix spelling
chizhavko Apr 3, 2024
9b81672
Update CHANGELOG.md
azarovalex Apr 3, 2024
bd4cb51
Merge pull request #4624 from mapbox/chizhavko/fix-changelog-carplay
chizhavko Apr 4, 2024
44ece0e
Update NN and Maps (#4628)
azarovalex Apr 15, 2024
668fed9
Merge remote-tracking branch 'origin/release-v2.18' into azarovalex/m…
azarovalex Apr 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

Expand All @@ -48,6 +48,6 @@ jobs:
/usr/bin/xcodebuild build -project /Users/runner/work/mapbox-navigation-ios/mapbox-navigation-ios/MapboxNavigation-SPM.xcodeproj -target Example CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Packaging

* MapboxNavigation now requires [MapboxMaps v10.16.5](https://github.com/mapbox/mapbox-maps-ios/releases/tag/v10.16.5). ([#4605](https://github.com/mapbox/mapbox-navigation-ios/pull/4605))
* MapboxNavigation now requires [MapboxMaps v10.17.0](https://github.com/mapbox/mapbox-maps-ios/releases/tag/v10.17.0). ([#4628](https://github.com/mapbox/mapbox-navigation-ios/pull/4628))
* MapboxCoreNavigation now requires [MapboxDirections v2.12.0](https://github.com/mapbox/mapbox-directions-swift/releases/tag/v2.12.0). ([#4605](https://github.com/mapbox/mapbox-navigation-ios/pull/4605))
* MapboxCoreNavigation now requires [MapboxNavigationNative v202._x_](https://github.com/mapbox/mapbox-navigation-native-ios/releases/tag/202.0.0). ([#4605](https://github.com/mapbox/mapbox-navigation-ios/pull/4605))
* MapboxCoreNavigation now requires [MapboxNavigationNative v204._x_](https://github.com/mapbox/mapbox-navigation-native-ios/releases/tag/202.0.0). ([#4628](https://github.com/mapbox/mapbox-navigation-ios/pull/4628))
* MapboxCoreNavigation is no longer dependent on MapboxMobileEvents. ([#4572](https://github.com/mapbox/mapbox-navigation-ios/pull/4572))
* Added a Polish localization. ([#4582](https://github.com/mapbox/mapbox-navigation-ios/pull/4582))

Expand Down Expand Up @@ -37,6 +37,8 @@
* Removed `NavigationEventsManager.init(activeNavigationDataSource:passiveNavigationDataSource:accessToken:mobileEventsManager:)` in favor of `NavigationEventsManager.init(activeNavigationDataSource:passiveNavigationDataSource:accessToken:)`. ([#4572](https://github.com/mapbox/mapbox-navigation-ios/pull/4572))
* Fixed a rare issue that could lead to memory corruption under specific conditions. This was resolved by replacing the internal image downloader with brand new actor-based implementation. ([#4588](https://github.com/mapbox/mapbox-navigation-ios/pull/4588))
* Fixed the possible situation when the upcoming route leg is rendered above the active route leg. ([#4588](https://github.com/mapbox/mapbox-navigation-ios/pull/4588))
* Fixed a main thread hang on NavigationViewController creation. ([#4617](https://github.com/mapbox/mapbox-navigation-ios/pull/4617))
* Fixed error reporting in `RouteController/reroute(from:along:)`. ([#4618](https://github.com/mapbox/mapbox-navigation-ios/pull/4618))

## v2.17.0

Expand Down
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 23.8.6
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.xcframework.json" ~> 202.0.0
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" == 23.9.2
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.xcframework.json" ~> 204.0.1
github "mapbox/mapbox-directions-swift" ~> 2.12.0
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" "23.8.6"
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.xcframework.json" "202.0.0"
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon.json" "23.9.2"
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.xcframework.json" "204.0.1"
github "mapbox/mapbox-directions-swift" "v2.12.0"
github "mapbox/turf-swift" "v2.8.0"
github "mattgallagher/CwlPreconditionTesting" "2.2.1"
Expand Down
2 changes: 1 addition & 1 deletion MapboxCoreNavigation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.module_name = "MapboxCoreNavigation"

s.dependency "MapboxNavigationNative", "~> 202.0.0"
s.dependency "MapboxNavigationNative", "~> 204.0.1"
s.dependency "MapboxDirections", "~> 2.12.0"

s.swift_version = "5.5"
Expand Down
71 changes: 56 additions & 15 deletions MapboxNavigation-SPM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@
358D145F1E5E3B7700ADE590 /* Sources */,
358D14601E5E3B7700ADE590 /* Frameworks */,
358D14611E5E3B7700ADE590 /* Resources */,
DF5A6E012BB6E13000BC3F2C /* Apply Mapbox token */,
);
buildRules = (
);
Expand Down Expand Up @@ -559,6 +560,7 @@
C53F2EE320EBC95600D9798F /* Sources */,
C53F2EE920EBC95600D9798F /* Frameworks */,
C53F2EF220EBC95600D9798F /* Resources */,
DF5A6E022BB6E29C00BC3F2C /* Apply Mapbox token */,
);
buildRules = (
);
Expand Down Expand Up @@ -608,9 +610,7 @@
TestTargetID = 8AC81F56284832E000662395;
};
C53F2EDE20EBC95600D9798F = {
DevelopmentTeam = GJZR2MEM28;
LastSwiftMigration = 1030;
ProvisioningStyle = Manual;
};
};
};
Expand Down Expand Up @@ -760,7 +760,8 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\ntoken_file=~/.mapbox\ntoken_file2=~/mapbox\ntoken=\"$(cat $token_file 2>/dev/null || cat $token_file2 2>/dev/null)\"\nif [ \"$token\" ]; then\n plutil -replace MBXAccessToken -string $token \"$TARGET_BUILD_DIR/$INFOPLIST_PATH\"\nelse\n echo 'warning: Missing Mapbox access token'\n open 'https://www.mapbox.com/account/access-tokens/'\n echo \"warning: Get an access token from <https://www.mapbox.com/account/access-tokens/>, then create a new file at $token_file or $token_file2 that contains the access token.\"\nfi\n";
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\n\"${SRCROOT}/scripts/apply_mapbox_token.sh\"\n";
showEnvVarsInLog = 0;
};
8A9C67F22891F2B100C28B2B /* Apply Mapbox Access Token */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -771,7 +772,6 @@
inputFileListPaths = (
);
inputPaths = (
"",
"$(TARGET_BUILD_DIR)/$(INFOPLIST_PATH)",
);
name = "Apply Mapbox Access Token";
Expand All @@ -781,7 +781,8 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\ntoken_file=~/.mapbox\ntoken_file2=~/mapbox\ntoken=\"$(cat $token_file 2>/dev/null || cat $token_file2 2>/dev/null)\"\nif [ \"$token\" ]; then\n plutil -replace MBXAccessToken -string $token \"$TARGET_BUILD_DIR/$INFOPLIST_PATH\"\nelse\n echo 'warning: Missing Mapbox access token'\n open 'https://www.mapbox.com/account/access-tokens/'\n echo \"warning: Get an access token from <https://www.mapbox.com/account/access-tokens/>, then create a new file at $token_file or $token_file2 that contains the access token.\"\nfi\n";
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\n\"${SRCROOT}/scripts/apply_mapbox_token.sh\"\n";
showEnvVarsInLog = 0;
};
8AB31424284837EC00348E52 /* Apply Mapbox Access Token */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -801,7 +802,50 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\ntoken_file=~/.mapbox\ntoken_file2=~/mapbox\ntoken=\"$(cat $token_file 2>/dev/null || cat $token_file2 2>/dev/null)\"\nif [ \"$token\" ]; then\n plutil -replace MBXAccessToken -string $token \"$TARGET_BUILD_DIR/$INFOPLIST_PATH\"\nelse\n echo 'warning: Missing Mapbox access token'\n open 'https://www.mapbox.com/account/access-tokens/'\n echo \"warning: Get an access token from <https://www.mapbox.com/account/access-tokens/>, then create a new file at $token_file or $token_file2 that contains the access token.\"\nfi\n";
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\n\"${SRCROOT}/scripts/apply_mapbox_token.sh\"\n";
showEnvVarsInLog = 0;
};
DF5A6E012BB6E13000BC3F2C /* Apply Mapbox token */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"$(TARGET_BUILD_DIR)/$(INFOPLIST_PATH)",
);
name = "Apply Mapbox token";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\n\"${SRCROOT}/scripts/apply_mapbox_token.sh\"\n";
showEnvVarsInLog = 0;
};
DF5A6E022BB6E29C00BC3F2C /* Apply Mapbox token */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"$(TARGET_BUILD_DIR)/$(INFOPLIST_PATH)",
);
name = "Apply Mapbox token";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This Run Script build phase helps to keep the navigation SDK’s developers from exposing their own access tokens during development. See <https://www.mapbox.com/help/ios-private-access-token/> for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.\n\n\"${SRCROOT}/scripts/apply_mapbox_token.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -1353,8 +1397,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "${SRCROOT}/Example/Entitlements.plist";
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = GJZR2MEM28;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
Expand All @@ -1366,8 +1410,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "com.Mapbox.CarPlay-Example";
PRODUCT_NAME = Example;
PROVISIONING_PROFILE = "69c90fd8-c53b-41a4-ac73-5bc11068a49a";
PROVISIONING_PROFILE_SPECIFIER = "CarPlay Provisioning Profile";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Example/Example-Swift-BridgingHeader.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
Expand All @@ -1380,9 +1423,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "${SRCROOT}/Example/Entitlements.plist";
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = GJZR2MEM28;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Example/Info.plist;
Expand All @@ -1393,8 +1435,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "com.Mapbox.CarPlay-Example";
PRODUCT_NAME = Example;
PROVISIONING_PROFILE = "69c90fd8-c53b-41a4-ac73-5bc11068a49a";
PROVISIONING_PROFILE_SPECIFIER = "CarPlay Provisioning Profile";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Example/Example-Swift-BridgingHeader.h";
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"repositoryURL": "https://github.com/mapbox/mapbox-common-ios.git",
"state": {
"branch": null,
"revision": "ea67fe9b6ef4ee37e1d0bbc32752d46f3082dc61",
"version": "23.9.0"
"revision": "696503304fe8807bd5af3abb23ef20c051dd8b12",
"version": "23.9.2"
}
},
{
"package": "MapboxCoreMaps",
"repositoryURL": "https://github.com/mapbox/mapbox-core-maps-ios.git",
"state": {
"branch": null,
"revision": "00207cff55938601b4ce22e683cdc710fd8864e9",
"version": "10.16.5"
"revision": "255a3d159c710d33ab8a85d15a2842012462f581",
"version": "10.17.0"
}
},
{
Expand All @@ -51,17 +51,17 @@
"repositoryURL": "https://github.com/mapbox/mapbox-maps-ios.git",
"state": {
"branch": null,
"revision": "79af3be38640c4d60af167e9ee42754d832816e3",
"version": "10.16.5"
"revision": "52bb5df80e4a6dd84d61bf9f4fc63a68b30c03e4",
"version": "10.17.0"
}
},
{
"package": "MapboxNavigationNative",
"repositoryURL": "https://github.com/mapbox/mapbox-navigation-native-ios.git",
"state": {
"branch": null,
"revision": "a40157f2b13108563a3b792d42c4fdcc2287cdcc",
"version": "202.0.0"
"revision": "b1c9d09cca14c69455f2ce79dc588f2ae06bde37",
"version": "204.0.1"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.7">
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PostActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "# This Run Script build phase helps to keep the navigation SDK&#x2019;s developers from exposing their own access tokens during development. See &lt;https://www.mapbox.com/help/ios-private-access-token/&gt; for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.&#10;&#10;if [ -f &quot;${TARGET_BUILD_DIR}/${INFOPLIST_PATH}&quot; ]; then&#10; token_file=~/.mapbox&#10; token_file2=~/mapbox&#10; token=&quot;$(cat $token_file 2&gt;/dev/null || cat $token_file2 2&gt;/dev/null)&quot;&#10; if [ &quot;$token&quot; ]; then&#10; plutil -replace MBXAccessToken -string $token &quot;$TARGET_BUILD_DIR/$INFOPLIST_PATH&quot;&#10; else&#10; echo &apos;warning: Missing Mapbox access token&apos;&#10; open &apos;https://www.mapbox.com/account/access-tokens/&apos;&#10; echo &quot;warning: Get an access token from &lt;https://www.mapbox.com/account/access-tokens/&gt;, then create a new file at $token_file or $token_file2 that contains the access token.&quot;&#10; fi&#10;fi&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C53F2EDE20EBC95600D9798F"
BuildableName = "Example.app"
BlueprintName = "Example-CarPlay"
ReferencedContainer = "container:MapboxNavigation-SPM.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PostActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.7">
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PostActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "# This Run Script build phase helps to keep the navigation SDK&#x2019;s developers from exposing their own access tokens during development. See &lt;https://www.mapbox.com/help/ios-private-access-token/&gt; for more information. If you are developing an application privately, you may add the MBXAccessToken key directly to your Info.plist file and delete this build phase.&#10;&#10;if [ -f &quot;${TARGET_BUILD_DIR}/${INFOPLIST_PATH}&quot; ]; then&#10; token_file=~/.mapbox&#10; token_file2=~/mapbox&#10; token=&quot;$(cat $token_file 2&gt;/dev/null || cat $token_file2 2&gt;/dev/null)&quot;&#10; if [ &quot;$token&quot; ]; then&#10; plutil -replace MBXAccessToken -string $token &quot;$TARGET_BUILD_DIR/$INFOPLIST_PATH&quot;&#10; else&#10; echo &apos;warning: Missing Mapbox access token&apos;&#10; open &apos;https://www.mapbox.com/account/access-tokens/&apos;&#10; echo &quot;warning: Get an access token from &lt;https://www.mapbox.com/account/access-tokens/&gt;, then create a new file at $token_file or $token_file2 that contains the access token.&quot;&#10; fi&#10;fi&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "358D14621E5E3B7700ADE590"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:MapboxNavigation-SPM.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PostActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand Down
Loading