XCode 12无法使用Sentry.io在发布模式下构建

问题描述

在XCode 12上,我尝试使用@ sentry / react-native“使用react-native 0.63.2运行react native应用程序:如果有人对导致此问题的任何想法,我已经尝试了好几天了。谢谢!

/Users/adamtoth-fejel/Documents/GitHub/testerapp/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/loadMetroConfig.js:94
    ...options
    ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:533:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/adamtoth-fejel/Documents/GitHub/testerapp/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js:48:47)
+ [[ false != true ]]
+ [[ ! -f /Users/adamtoth-fejel/Library/Developer/Xcode/DerivedData/testerapp-ditgalwgipyeasbpogsaaqnsxcqe/Build/Products/Release-iphonesimulator/testerapp.app/main.jsbundle ]]
error: EOF while parsing a value at line 1 column 0

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)