Xcode 10构建错误-多个命令产生了info.plist

时间:2018-10-03 17:00:52

标签: xcode info.plist xcode10

我最近更新到了Xcode 10,但是现在每当我尝试运行我的版本时,都可以使用它:

Build system information
error: Multiple commands produce '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist':
1) Target 'aiRun' (project 'aiRun') has copy command from '/Users/shiningsunnyday/Documents/GitHub/running_app/RUN BABY/aiRun/aiRun/Info.plist' to '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist'
2) Target 'aiRun' (project 'aiRun') has process command with output '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist'

我可以删除Info.plist的目标成员身份,并且可以使用,但是我需要在其中自定义键值。我该怎么办?

1 个答案:

答案 0 :(得分:0)

  

工作区项目>构建设置>查找[Command + F]> info.plist>   打包> info.plist文件-[your_target / info.plist]

以上方法是最干净的答案。

  

[XCode-文件-工作区设置-新建系统(默认)]