gpt4 book ai didi

ios - React Native - PhaseScriptExecution 错误

转载 作者:行者123 更新时间:2023-11-28 23:27:59 24 4
gpt4 key购买 nike

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

    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 and images 更改为:../node_modules/react-native/scripts/react-native-xcode.sh 但没有任何改变。

我能做什么?

最佳答案

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

文件../node_modules/react-native/scripts/react-native-xcode.sh当前抛出权限被拒绝异常

关于ios - React Native - PhaseScriptExecution 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58080459/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com