React Native Sentry 中配置的 build_type 在哪里

Where's the build_type configured in React Native Sentry

我正在使用 Sentry SDK for React Native。在每个报告中,我都可以在 App 部分找到一个参数 Build Type。不幸的是,该值为 simulatortest。我希望在我发布的应用程序中出现类似 release 的内容。

有谁知道 iOS 应用程序在何处配置此参数?

此参数将从 KSCrash
开始自动设置 对于有收据的应用,app store
test 用于临时构建,simulator 是的,你猜对了,模拟器构建 xD
还有 debug 用于直接在设备上构建。

见: https://github.com/kstenerud/KSCrash/blob/64229cfa482d135c109dc3c66db7b30d1da855fc/Source/KSCrash/Recording/Monitors/KSCrashMonitor_System.m#L454-L473