Xcode warning: “Multiple build commands for output file”

前端 未结 23 1751
既然无缘
既然无缘 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:14

    I found a pretty easy solution for this:

    1. Select the file causing the problem from the project navigator
    2. Uncheck the target membership from the file inspector
    3. Build the project
    4. Recheck the target membership for the file again

    The warning is gone! Check this image for reference.

    enter image description here

提交回复
热议问题