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

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

    In my case swift development snapshot was selected instead of xcode 9.2. here are the steps and image.

    1. xcode on screen and click on xcode top menu bar.
    2. Than go to toolchains option and check on xcode 9.2. thats it.

    Note: If no toolchain found in your xcode than download from Here and install it. (after installation restart xcode). Happy Coding!!!

提交回复
热议问题