繁体   English   中英

React Native - PhaseScriptExecution 错误

[英]React Native - PhaseScriptExecution Error

我正在 React Native 中开发一个 APP,并尝试在 IOS 模拟器中运行它。 我已经在 Android 中尝试过并且项目运行没有问题,但是当我尝试在 XCode 模拟器上运行它时出现以下错误:

    line 3: ../node_modules/react-native/scripts/react-native-xcode.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code


error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening IDRUS_RSR.xcworkspace

* BUILD FAILED *


The following build commands failed:
    PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/juanshallcrass/Documents/IDRUS/idrus-rsr/ios/build/IDRUS_RSR/Build/Intermediates.noindex/IDRUS_RSR.build/Debug-iphonesimulator/IDRUS_RSR.build/Script-00DD1BFF1BD5951E006B06BC.sh
(1 failure)

我已经尝试将Bundle react Native code 和 images更改为:../node_modules/react-native/scripts/ ../node_modules/react-native/scripts/react-native-xcode.sh但没有任何改变。

我能做些什么?

看起来您的项目没有正确的权限,请尝试使用当前用户重新安装node_modules

文件../node_modules/react-native/scripts/react-native-xcode.sh当前正在抛出 Permission denied Exception

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM