xcode 10错误:产生多个命令-反应本机 [英] xcode 10 error: multiple commands produce - react native
本文介绍了xcode 10错误:产生多个命令-反应本机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此已经有很多类似的问题,但是我遇到了与可可足类或info.plist有关的错误,不,至少我不认为,因为没有解决方案对我有用.
So there are a lot of questions like this already, but I'm having the same error, not relating to cocoapods or info.plist, at least I don't think, because none of the solutions worked for me.
我最近刚刚升级到Xcode 10.0,构建我的React Native应用程序会出现此错误:
I just recently upgraded to Xcode 10.0, and building my react native app gives this error:
Multiple commands produce '/Users/username/Library/Developer/Xcode/DerivedData/appname-code/Build/Products/Release-iphoneos/appname.app':
1) Target 'appname' has create directory command with output '/Users/username/Library/Developer/Xcode/DerivedData/appname-code/Build/Products/Release-iphoneos/appname.app'
2) That command depends on command in Target 'appname': script phase "[CP] Copy Pods Resources"
如何解决此错误?
推荐答案
我通过将cocoapods升级到最新版本来对其进行了修复:
I fixed it by upgrading cocoapods to the latest version:
- 关闭Xcode项目.
- 将cocoapods升级到最新版本-运行"sudo gem install cocoapods"
- 按照步骤此处删除现有吊舱
- 在项目目录中运行"pod install"
- Close Xcode project.
- Upgrade cocoapods to latest version - run "sudo gem install cocoapods"
- Follow steps here to remove existing pods
- Run "pod install" in the project directory
这篇关于xcode 10错误:产生多个命令-反应本机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文