Build target randomly added to Xcode scheme

孤人 提交于 2019-12-03 15:03:12

I found all my build and test problems were related to having the same binary name. Renaming the binaries produced by each target to be unique fixed the problem.

I just had the same issue. In my case the additional target appeared in the build settings of the scheme's target. You can search for the undesired target name there, I found mine under BUNLDE_LOADER and TEST_HOST. It got fixed after I deleted the settings.

In my case, it was because the target was listed under Target Dependencies under the Build Phases of my test target.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!