@maplibre/maplibre-react-native 10.0.0-alpha.15 → 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,14 @@ 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
+
13
+ ## 10.0.0-alpha.16
14
+
15
+ fix: [another attempt to disable code signing](<[#451](https://github.com/maplibre/maplibre-react-native/pull/451)>)
16
+
9
17
  ## 10.0.0-alpha.15
10
18
 
11
19
  fix: [disable code signing for release builds](<[#450](https://github.com/maplibre/maplibre-react-native/pull/450)>)
@@ -656,8 +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;
659
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
661
660
  COPY_PHASE_STRIP = NO;
662
661
  DEBUG_INFORMATION_FORMAT = dwarf;
663
662
  ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -706,8 +705,7 @@
706
705
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
707
706
  CLANG_WARN_UNREACHABLE_CODE = YES;
708
707
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
709
- CODE_SIGN_IDENTITY = "";
710
- CODE_SIGNING_REQUIRED = NO;
708
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
711
709
  COPY_PHASE_STRIP = NO;
712
710
  DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
713
711
  ENABLE_NS_ASSERTIONS = NO;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maplibre/maplibre-react-native",
3
3
  "description": "A MapLibre GL Native plugin for creating maps in React Native",
4
- "version": "10.0.0-alpha.15",
4
+ "version": "10.0.0-alpha.17",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -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);