首页 > 解决方案 > RN App 在 testflight 审查中启动时崩溃,即使它适用于发布模式模拟器

问题描述

你好美好的社区

我正在尝试将我的应用程序上传到 testflight,但它一直被拒绝。当我在发布模式下在所有类型的模拟器上尝试它时,它可以工作......

这里有很多信息,但如果需要,请随时询问更多信息。我希望有一个英雄在这里帮助一个可怜的小伙子

这是我的堆栈:

这是我得到的崩溃日志:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  7

Application Specific Information:
abort() called

这是线程 7 崩溃:

Thread 7 name:  Dispatch queue: com.facebook.react.ExceptionsManagerQueue
Thread 7 Crashed:
0   libsystem_kernel.dylib          0x00000001b666d334 0x1b6644000 + 168756
1   libsystem_pthread.dylib         0x00000001d3b0daa0 0x1d3b0b000 + 10912
2   libsystem_c.dylib               0x000000019208fb90 0x192018000 + 490384
3   libc++abi.dylib                 0x000000019d86fbb8 0x19d85c000 + 80824
4   libc++abi.dylib                 0x000000019d860ec8 0x19d85c000 + 20168
5   libobjc.A.dylib                 0x000000019d76d05c 0x19d766000 + 28764
6   libc++abi.dylib                 0x000000019d86efa0 0x19d85c000 + 77728
7   libc++abi.dylib                 0x000000019d86ef2c 0x19d85c000 + 77612
8   libdispatch.dylib               0x00000001888fc800 0x1888f8000 + 18432
9   libdispatch.dylib               0x0000000188903fd4 0x1888f8000 + 49108
10  libdispatch.dylib               0x0000000188904bd0 0x1888f8000 + 52176
11  libdispatch.dylib               0x000000018890f48c 0x1888f8000 + 95372
12  libsystem_pthread.dylib         0x00000001d3b0e7a4 0x1d3b0b000 + 14244
13  libsystem_pthread.dylib         0x00000001d3b1574c 0x1d3b0b000 + 42828

这是我的依赖项:

 "dependencies": {
    "@babel/plugin-transform-object-assign": "^7.12.13",
    "@firebase/app": "^0.6.20",
    "@firebase/auth": "^0.16.4",
    "@firebase/auth-types": "^0.10.2",
    "@react-native-async-storage/async-storage": "^1.15.2",
    "@react-native-community/slider": "^3.0.3",
    "@react-native-firebase/app": "^11.3.0",
    "@react-native-firebase/auth": "^11.3.0",
    "@react-native-firebase/database": "^11.3.0",
    "@react-native-firebase/firestore": "^11.3.0",
    "@react-native-firebase/storage": "^11.3.0",
    "@react-native-google-signin/google-signin": "^6.0.0",
    "@react-native-mapbox-gl/maps": "github:react-native-mapbox-gl/maps#master",
    "@react-native-segmented-control/segmented-control": "^2.3.0",
    "@react-navigation/drawer": "^5.12.5",
    "@react-navigation/native": "^5.9.4",
    "@react-navigation/stack": "^5.14.4",
    "@reduxjs/toolkit": "^1.5.1",
    "@turf/helpers": "^6.3.0",
    "formik": "^2.2.6",
    "geolib": "^3.3.1",
    "lottie-react-native": "^4.0.2",
    "mockdate": "^3.0.5",
    "moment": "^2.29.1",
    "node-fetch": "^2.6.1",
    "pod-install": "^0.1.20",
    "prop-types": "^15.7.2",
    "ramda": "^0.27.1",
    "react": "17.0.1",
    "react-addons-shallow-compare": "^15.6.3",
    "react-native": "0.64.0",
    "react-native-animatable": "^1.3.3",
    "react-native-background-fetch": "^4.0.2",
    "react-native-chart-kit": "^6.11.0",
    "react-native-date-picker": "^3.2.10",
    "react-native-formik": "^1.7.8",
    "react-native-geolocation-service": "^5.2.0",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-image-picker": "^3.3.2",
    "react-native-modal": "^11.10.0",
    "react-native-progress": "^4.1.2",
    "react-native-reanimated": "^2.1.0",
    "react-native-redux": "^1.0.10",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-safe-modules": "^1.0.0",
    "react-native-scale-bar": "^1.0.6",
    "react-native-screens": "^3.1.1",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-svg": "^12.1.1",
    "react-native-uuid-generator": "^6.1.1",
    "react-native-vector-icons": "^8.1.0",
    "react-native-video": "^5.1.1",
    "react-redux": "^7.2.3",
    "redux": "^4.0.5",
    "redux-persist": "^6.0.0",
    "redux-persist-filesystem-storage": "^3.0.0",
    "redux-thunk": "^2.3.0",
    "rn-fetch-blob": "^0.12.0",
    "string-hash-64": "^1.0.3",
    "typescript": "^4.2.4",
    "uuid": "^8.3.2",
    "yup": "^0.32.9"
  },

起初我以为是来自 fbsdk 登录,所以我剥离了 lib,没有工作。我还尝试删除/更新依赖项,但也没有用。当我检查符号化的崩溃日志时,它似乎来自 RTCNativeModule.mm 或者一些我不太明白的非常神秘的东西......

谢谢你,祝你有美好的一天

标签: iosreactjsreact-nativetestflight

解决方案


推荐阅读