ios - 在为 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'
解决方案
推荐阅读
- architecture - 领域驱动设计中的值或实体类型的存储库
- matlab - 在 Matlab 中绘制真彩色 Sentinel-2A 图像
- oracle - 使用“with data as”子句进行更新,并且不提交正则表达式。为什么?
- regex - BBEdit 剔除过多的小数
- ios - 在 iOS 中创建菜单
- firebase - Firebase 有时会为 ios 设备获取令牌 NULL
- botframework - Bot v4 网络聊天频道,发送消息很慢
- javascript - 子组件 props 是空的,尽管它们是从父组件传递的
- java - Hibernate 的 createSQLQuery 不会检索数据
- angular - 特定 NgModule 的 Angular 服务