我在Windows上创建了一个应用程序,该应用程序甚至可以运行到Play商店。这是git存储库(bitbucket)的项目,已下载到MacBook上。第一次,该应用程序通常在iOS模拟器上运行,但是无法识别为我使用的字体,并且由于我是Mac和iOS的新手,所以我无法解决它,最终删除了存储库并下载再次。从那一刻起,或者应用程序不再在运行reat-native run-ios的macbook上运行。
我已经遵循了here准则,但是我还什么都没有。这是出现的错误:
The following build commands have failed:
Bundle PhaseScriptExecution \ React \ Native \ code \ and \ images /Users/macbook/Library/Developer/Xcode/DerivedData/XXXXXXXXX-chaxzhqkuszomdaeoykspwqsyqbb/Build/Intermediates.noindex/doctorfitStudents.buildXXDebug1XX.
我尝试在Xcode中运行,但出现3个错误:
ios /../ node_modules / react-native / scripts / .packager.env: permission denied
The / bin / sh command issued errors, but did not return a non-zero exit code to indicate failure
../.node_modules/react-native/scripts/react-native-xcode.sh: this file or directory does not exist
"react": "~16.9.0",
"react-native": "~0.61.5",