Xcode warning: “Multiple build commands for output file”

前端 未结 23 1693
既然无缘
既然无缘 2020-11-28 17:29

I am getting an error like this:

[WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/no.png

<
23条回答
  •  执笔经年
    2020-11-28 18:04

    another version of this situation can occur when there are duplicates in the Headers build phase.

    to fix this …

    1. go to your project target
    2. choose Build Phases
    3. choose the Headers build phase
    4. enter the name shown in the warning
    5. notice the two (or more) items
    6. find the +|- boxes in the lower left corner
    7. select one of the items, and click the - button

提交回复
热议问题