首页 > 解决方案 > 由于哨兵,应用程序构建在 xcode 中失败,并在后台继续(无法显示 Xcode 通知)

问题描述

突然无法构建我的应用程序。这是我在运行后得到的错误:脚本错误:osascript:没有这样的组件“JavaScript”。

  Continuing in background.

       Error: Failed to display Xcode notification
          caused by: script error: osascript: no such component "JavaScript".

        /Users//Library/Developer/Xcode/DerivedData/App-dvcafjcjvuogulagizfflouagntd/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-00199139199199133.sh: line 5: debug]: command not found
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

标签: iosxcodereact-nativeosascriptreact-native-sentry

解决方案


尝试在 Xcode 中构建。它会给你确切的错误。


推荐阅读