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

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

    Another thing to check:

    In my case I had deleted a row in the "Other Swift Flags" section in the Build Settings screen under the Release setting.

    That row had been a value for a compiler flag key/value pair. So the key was there but not the value.

    Once I deleted the key as well, then the build worked again.

提交回复
热议问题