当我尝试构建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.
A. 环境
MacBook Pro Mojave 10.14.5
感谢帮助
每当您在 mac 上收到此错误时,都是因为您的系统不允许 react native 读取或写入某些文件。
请尝试这个
sudo react-native run-ios
希望它会有所帮助