Failed the build, unknown error.

  (node_modules/@react-native-mapbox-gl/maps/ios/RCTMGL/RCTMGLPointAnnotation.m:36:16)

  34 |         self.calloutView.representedObject = self;
  35 |     } else {
> 36 |         [super insertReactSubview:subview atIndex:0];
     |                ^ no visible @interface for 'MGLAnnotationView' declares the selector 'insertReactSubview:atIndex:'
  37 |     }
  38 | }
  39 | 


❌  (node_modules/@react-native-mapbox-gl/maps/ios/RCTMGL/RCTMGLPointAnnotation.m:45:16)

  43 |         self.calloutView = nil;
  44 |     } else {
> 45 |         [super removeReactSubview:subview];
     |                ^ no visible @interface for 'MGLAnnotationView' declares the selector 'removeReactSubview:'
  46 |     }
  47 | }
  48 | 


❌  (node_modules/@react-native-mapbox-gl/maps/ios/RCTMGL/RCTMGLPointAnnotation.m:54:12)

  52 |         [_map removeAnnotation:self];
  53 |     }
> 54 |     [super reactSetFrame:frame];
     |            ^ no visible @interface for 'MGLAnnotationView' declares the selector 'reactSetFrame:'
  55 |     [self _setCenterOffset:frame];
  56 |     [self _addAnnotation];
  57 | }


❌  (node_modules/@react-native-mapbox-gl/maps/ios/RCTMGL/RCTMGLPointAnnotation.m:130:14)

  128 | - (MGLAnnotationView *)getAnnotationView
  129 | {
> 130 |     if (self.reactSubviews.count == 0) {
      |              ^ property 'reactSubviews' not found on object of type 'RCTMGLPointAnnotation *'
  131 |         // default pin view
  132 |         return nil;
  133 |     } else {
⚠️  (../../../../maps/ios/RCTMGL/RCTMGLSource.h:31:24)

- (NSArray<NSString *> *)getLayerIDs;
                       ^ pointer is missing a nullability type specifier [-Wnullability-completeness]

** ARCHIVE FAILED **

I’m honestly lost i can’t find out what’s wrong i’m using windows with react native, if you need any other information please let me know

Hey @zackgilliam, can you share your package.json as well as env info (paste the output of expo diagnostics)?

Cheers,
Adam

Package.json

{
  "name": "pose-ok-app",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@react-native-mapbox-gl/maps": "^8.5.0",
    "expo": "~44.0.1",
    "expo-splash-screen": "~0.14.1",
    "expo-status-bar": "~1.2.0",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-web": "0.17.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "private": true
}

Expo Diagnostics.

Expo CLI 5.0.1 environment info:
    System:
      OS: Windows 10 10.0.22000
    Binaries:
      Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
      npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      expo: ~44.0.1 => 44.0.1
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.3 => 0.64.3
      react-native-web: 0.17.1 => 0.17.1
    Expo Workflow: bare

Update: The build was successful on EAS , but opening the app immediately crashes right after.