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

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

    This issue is happening because of pods

    So Follow the below steps to resolve this issue

    • Remove all the pods and re-install again. Remove all the pods using below this command (rm -rf "pwd/Pods/")
    • Quit the Xcode and open it again and build the app with device (generic iOS device).
    • Now check this issue will be resolved.

提交回复
热议问题