ERROR “swiftc failed with exit code 1” when converting to latest syntax

前端 未结 26 2311
傲寒
傲寒 2020-12-14 05:31

I was trying to convert syntax of old Swift project to new one as per few suggestion on Stack Overflow I tried converting it through Edit > Convert > To latest Synta

26条回答
  •  独厮守ぢ
    2020-12-14 06:23

    Had the same issue but with duplicate file references. Deleting Derived Data and cleaning had no success. But I got it fixed by doing this:

    Navigate to your project.pbxproj -> open with your text editor of choice(I use atom).

    Command+F and find the duplicate file sources and then delete them.

    Build/Run and should be fixed.

提交回复
热议问题