无法执行文件“ launchPackager.command”,因为您没有适当的访问权限

时间:2020-09-02 12:17:29

标签: ios firebase react-native macos-catalina react-native-firebase

您好,我正在尝试将Firebase添加到我的react-native项目中。 最后,当我尝试启动我的IOS项目时: 由于没有适当的访问权限,无法执行文件“ launchPackager.command”。要查看或更改访问权限,请在Finder中选择文件,然后选择“文件”>“获取信息”。 enter image description here

我已经在Mac(os catalina 10.15.4)上更改了我的隐私和设置:

sudo spctl --master-disable enter image description here

1 个答案:

答案 0 :(得分:1)

有同样的问题。 就我而言,它是通过向文件授予可执行权限来解决的。

chmod u+x /path/to/file.command