@baeckerherz/expo-mapbox-navigation 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withMapboxArchiveFix = void 0;
|
|
4
4
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
5
|
-
const SCRIPT_NAME = "
|
|
5
|
+
const SCRIPT_NAME = "Mapbox - Strip xcframework signatures";
|
|
6
6
|
/**
|
|
7
7
|
* Adds a Run Script build phase to the app target that removes xcframework
|
|
8
8
|
* .signature files from the build directory before the archive step.
|
|
@@ -42,7 +42,7 @@ const withMapboxArchiveFix = (config) => {
|
|
|
42
42
|
outputPaths: [],
|
|
43
43
|
runOnlyForDeploymentPostprocessing: 0,
|
|
44
44
|
shellPath: "/bin/sh",
|
|
45
|
-
shellScript: '
|
|
45
|
+
shellScript: 'DERIVED_ROOT="${BUILD_DIR%/Build/*}"\\nfind "${DERIVED_ROOT}" -name "*.xcframework-*.signature" -delete 2>/dev/null\\nexit 0\\n',
|
|
46
46
|
};
|
|
47
47
|
project.hash.project.objects["PBXShellScriptBuildPhase"][`${uuid}_comment`] = SCRIPT_NAME;
|
|
48
48
|
if (!target.buildPhases)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withXcodeProject, ConfigPlugin } from "@expo/config-plugins";
|
|
2
2
|
|
|
3
|
-
const SCRIPT_NAME = "
|
|
3
|
+
const SCRIPT_NAME = "Mapbox - Strip xcframework signatures";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Adds a Run Script build phase to the app target that removes xcframework
|
|
@@ -52,7 +52,7 @@ export const withMapboxArchiveFix: ConfigPlugin = (config) => {
|
|
|
52
52
|
runOnlyForDeploymentPostprocessing: 0,
|
|
53
53
|
shellPath: "/bin/sh",
|
|
54
54
|
shellScript:
|
|
55
|
-
'
|
|
55
|
+
'DERIVED_ROOT="${BUILD_DIR%/Build/*}"\\nfind "${DERIVED_ROOT}" -name "*.xcframework-*.signature" -delete 2>/dev/null\\nexit 0\\n',
|
|
56
56
|
};
|
|
57
57
|
project.hash.project.objects["PBXShellScriptBuildPhase"][
|
|
58
58
|
`${uuid}_comment`
|