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

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

    I faced this issue while using the Swift auto-generated header file in my project (named as 'TargetName'-swift.h) to use Swift classes in Objective-C.

    There was a typo in the file where I had imported this swift header. Correcting the typo helped me resolve the issue.

提交回复
热议问题