[求助] IOS 升级 Xcode14 后,构建失败: Multiple commands produce? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mmmmms
V2EX    问与答

[求助] IOS 升级 Xcode14 后,构建失败: Multiple commands produce?

  •  
  •   mmmmms 2023-04-01 23:02:33 +08:00 1570 次点击
    这是一个创建于 969 天前的主题,其中的信息可能已经有所发展或是发生改变。

    详细的错误内容如下,原本 podfile 中引入了一个本地库

    pod 'LBFoundation', :path => './Specs/foundation' 

    然后会生成两个 target, LBFoundation.commonLBFoundation.common-Service(本人 IOS 小白,也不知道为什么会有两个 target )

     Showing All Messages Prepare build note: Building targets in dependency order error: Multiple commands produce '/Project/DerivedData/Product1/Build/Intermediates.noindex/ArchiveIntermediates/Product1/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/LBFoundation.framework' note: Target 'LBFoundation.common' (project 'Pods') has create directory command with output '/Project/DerivedData/Product1/Build/Intermediates.noindex/ArchiveIntermediates/Product1/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/LBFoundation.framework' note: Target 'LBFoundation.common-Service' (project 'Pods') has create directory command with output '/Project/DerivedData/Product1/Build/Intermediates.noindex/ArchiveIntermediates/Product1/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/LBFoundation.framework' Building targets in dependency order Multiple commands produce '/Project/DerivedData/Product1/Build/Intermediates.noindex/ArchiveIntermediates/Product1/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/LBFoundation.framework' Computing target dependency graph and provisioning inputs Create build description Build description signature: 88c15e2173a8937894d3334eb649cc15 Build description path: /Project/DerivedData/Product1/Build/Intermediates.noindex/ArchiveIntermediates/Product1/IntermediateBuildFilesPath/XCBuildData/88c15e2173a8937894d3334eb649cc15.xcbuilddata 

    看网上的问题应该是原本该项目的编译系统用的是 Legacy Build Sysytem ,但是 14 后统一只能用 New Build System 。而新的编译方式会产生上述问题,不知道怎么解决。 哪位大佬能指点一下,感激不尽。

    Xcode 版本: 14.3 CocoaPods 版本: 1.12.0
    5 条回复    2023-04-03 19:55:52 +08:00
    pipasese
        1
    pipasese  
       2023-04-01 23:06:39 +08:00 via iPhone
    clean 一下试试?
    mmmmms
        2
    mmmmms  
    OP
       2023-04-01 23:11:21 +08:00
    @pipasese clean 了还是不行诶老哥
    mmmmms
        3
    mmmmms  
    OP
       2023-04-02 13:03:49 +08:00
    upupup
    mmmmms
        4
    mmmmms  
    OP
       2023-04-03 09:56:38 +08:00
    1111
    mmmmms
        5
    mmmmms  
    OP
       2023-04-03 19:55:52 +08:00
    已解决: https://segmentfault.com/q/1010000043614798/a-1020000043620946
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5192 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 28ms UTC 08:55 PVG 16:55 LAX 00:55 JFK 03:55
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86