@maplibre/maplibre-react-native 10.0.0-alpha.16 → 10.0.0-alpha.17
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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ PR Title ([#123](link to my pr))
|
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
## 10.0.0-alpha.17
|
|
10
|
+
|
|
11
|
+
fix: [add generic expo plugin to remove Duplicated Signature in Xcode 15/16](<[#453](https://github.com/maplibre/maplibre-react-native/pull/453)>)
|
|
12
|
+
|
|
9
13
|
## 10.0.0-alpha.16
|
|
10
14
|
|
|
11
15
|
fix: [another attempt to disable code signing](<[#451](https://github.com/maplibre/maplibre-react-native/pull/451)>)
|
|
@@ -656,10 +656,7 @@
|
|
|
656
656
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
657
657
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
658
658
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
659
|
-
CODE_SIGN_IDENTITY = "";
|
|
660
|
-
CODE_SIGNING_REQUIRED = NO;
|
|
661
|
-
CODE_SIGN_ENTITLEMENTS = "";
|
|
662
|
-
CODE_SIGNING_ALLOWED = NO;
|
|
659
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
663
660
|
COPY_PHASE_STRIP = NO;
|
|
664
661
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
665
662
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
@@ -708,10 +705,7 @@
|
|
|
708
705
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
709
706
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
710
707
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
711
|
-
CODE_SIGN_IDENTITY = "";
|
|
712
|
-
CODE_SIGNING_REQUIRED = NO;
|
|
713
|
-
CODE_SIGN_ENTITLEMENTS = "";
|
|
714
|
-
CODE_SIGNING_ALLOWED = NO;
|
|
708
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
715
709
|
COPY_PHASE_STRIP = NO;
|
|
716
710
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
717
711
|
ENABLE_NS_ASSERTIONS = NO;
|
package/package.json
CHANGED
|
@@ -106,6 +106,20 @@ function setExcludedArchitectures(project) {
|
|
|
106
106
|
}
|
|
107
107
|
return project;
|
|
108
108
|
}
|
|
109
|
+
const withoutSignatures = (config) => {
|
|
110
|
+
const shellScript = `
|
|
111
|
+
echo "Remove signature files (Xcode workaround)";
|
|
112
|
+
rm -rf "$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature";
|
|
113
|
+
`;
|
|
114
|
+
return (0, config_plugins_1.withXcodeProject)(config, async (config) => {
|
|
115
|
+
const xcodeProject = config.modResults;
|
|
116
|
+
xcodeProject.addBuildPhase([], "PBXShellScriptBuildPhase", "Remove signature files (Xcode workaround)", null, {
|
|
117
|
+
shellPath: "/bin/sh",
|
|
118
|
+
shellScript,
|
|
119
|
+
});
|
|
120
|
+
return config;
|
|
121
|
+
});
|
|
122
|
+
};
|
|
109
123
|
const withExcludedSimulatorArchitectures = (c) => {
|
|
110
124
|
return (0, config_plugins_1.withXcodeProject)(c, (config) => {
|
|
111
125
|
config.modResults = setExcludedArchitectures(config.modResults);
|
|
@@ -113,7 +127,7 @@ const withExcludedSimulatorArchitectures = (c) => {
|
|
|
113
127
|
});
|
|
114
128
|
};
|
|
115
129
|
const withMapLibre = (config) => {
|
|
116
|
-
config = withExcludedSimulatorArchitectures(config);
|
|
130
|
+
config = withoutSignatures(withExcludedSimulatorArchitectures(config));
|
|
117
131
|
return withCocoaPodsInstallerBlocks(config);
|
|
118
132
|
};
|
|
119
133
|
exports.default = (0, config_plugins_1.createRunOncePlugin)(withMapLibre, pkg.name, pkg.version);
|