React Native iOS构建失败,因为不允许操作

o7jaxewo  于 12个月前  发布在  iOS
关注(0)|答案(1)|浏览(120)

当我尝试构建iOS应用程序时,
react-native run-ios
我收到

error: unable to open output file '.../ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion.o': 'Operation not permitted'
1 error generated.

环境
MacBook Pro莫哈韦10.14.5
感谢帮助

nxowjjhe

nxowjjhe1#

每当你在mac上得到这个错误,这是因为你的系统不允许react native读取或写入一些文件。

请试试这个

sudo react-native run-ios

希望对你有帮助

相关问题