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

前端 未结 26 2424
傲寒
傲寒 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:14

    In my case, it was "Other swift flags". I had declared a flag there but not -D, so this was not getting recognized and resulted in the same error

提交回复
热议问题