首页 > 解决方案 > 在为 ios 构建 react-native 应用程序期间编译错误

问题描述

我有一个react-native项目,它构建并完美运行,Android但是当我想在其中构建它时,ios我总是会遇到大多数与com.apple.compilers.llvm.clang.1_0.compiler. 和'Operation not permitted'. 我仔细按照安装包的说明进行测试,我只是删除了一些包,然后我又遇到了同样的错误。我该如何解决这些错误?

仅供参考:当我构建一个新react-native项目时,构建它没有问题。

CompileC /Users/mehdi/Documents/chandkhat/front-end/ios/build/Build/Intermediates.noindex/React.build/Debug-iphones
imulator/third-party.build/Objects-normal/x86_64/Conv.o /Users/mehdi/Documents/chandkhat/front-end/node_modules/react-nativ
e/third-party/folly-2016.09.26.00/folly/Conv.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)

error: unable to open output file '/Users/mehdi/Documents/chandkhat/front-end/ios/build/Build/Intermediates.noindex/React.b uild/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Conv.o': 'Operation not permitted'

标签: iosxcodereact-nativellvm-clang

解决方案


推荐阅读