Xcode 10 GM多个命令产生...豆荚问题 [英] Xcode 10 GM multiple command produce... Pods issues

查看:97
本文介绍了Xcode 10 GM多个命令产生...豆荚问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需切换到xcode 10 Golden Master并开始使用我的一个Pod, FDTake 来获取错误。 。尝试过 this 线程,但是在构建阶段我没有plist,所以没有用此问题吊舱相关吗?

Just switched to xcode 10 Golden Master and start getting the error with one of my pods, FDTake. Tried this thread but I don't have a plist in my build phases, so it didn't work. Is this issue pod related?

Showing All Messages
:-1: Multiple commands produce '***/Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist':
1) Target 'FDTake' (project 'Pods') has copy command from '***/GoogleDrive/dev/_ios/Work/sutulp/Pods/FDTake/Source/Info.plist' to '***Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist'
2) Target 'FDTake' (project 'Pods') has process command with output '***Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist'

我也尝试删除了派生的数据文件夹,但是它也不起作用。试图清理项目,等等–没运气。谢谢您的任何建议。

I also tried to remove the derived data folder, but it didn't work either. Tried to clean the project and so on – no luck. Any advice is appreciated.

切换到旧版本的系统将不是解决方案。

Switch to old build system will not be a solution.

推荐答案

这看起来非常类似于以下问题: Xcode 10错误:产生了多个命令

This looks very similar to this question: Xcode 10 Error: Multiple commands produce

此处是指向投票最多的答案的链接 https://stackoverflow.com/a/50719379

Here is a link to the most voted answer https://stackoverflow.com/a/50719379

如果这不起作用,则可能是该Pod的Pod依赖周期。

If this doesn't work, you may have a Pod dependency cycle for that pod.

就我而言,就是这样一个问题。

In my case, there was such an issue.

在我的pod项目中,目标Lock对 Lock-Auth0 框架具有目标依赖关系,因此我必须删除通过转到 Build Settings>锁定目标的 Lock-Auth0行。目标依赖性> &复制捆绑资源(如果再次运行 pod install ,则将撤消)。

In my pod project the target Lock had a target dependency to the Lock-Auth0 framework so I had to remove the line for "Lock-Auth0" for the Lock target by going to Build Settings > Target Dependencies > & Copy Bundle Resources (this will be undone if you run pod install again) .

我查看了Lock.podspec,并意识到对最新版本的依赖已删除,因此升级到最新版本的Pod将是我的下一步。

I took a look at the Lock.podspec and realized that the dependency has been removed on the latest version so upgrading to the most recent version of the Pod will be my next step.

希望这会有所帮助。

这是我的错误的屏幕截图

这篇关于Xcode 10 GM多个命令产生...豆荚问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆