rnmapbox / maps

A Mapbox react native module for creating custom maps
MIT License
2.25k stars 847 forks source link

[Bug]: Archiving Freezes in Xcode at same exact spot. #3513

Closed salvinoto closed 2 months ago

salvinoto commented 4 months ago

Mapbox Implementation

Mapbox

Mapbox Version

default

React Native Version

0.74.2

Platform

iOS

@rnmapbox/maps version

10.1.24

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
        <ShapeSource id="idStreetLayer" shape={aLine}>
          <LineLayer id="idStreetLayer" />
        </ShapeSource>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

When archiving for iOS t send to testflight/appstore, it freezes when

Expected behavior

The project should archive normally for deployment to appstore/ testflight, it freezes when buildtarget is MapBoxCoreMaps. Everything is up to date and compatible. Project compiles successfully when just using build option or simulating it.

Screenshot 2024-06-08 at 5 14 57 PM

Notes / preliminary analysis

No response

Additional links and references

No response

mfazekas commented 2 months ago

Closing as sounds like a project specific issue