Command failed due to signal: Abort trap: 6

前端 未结 30 2652
暖寄归人
暖寄归人 2020-12-01 08:56

Since Xcode 7 and Swift 2.0, I get the error above, like in the screenshot shown here:

\"screenshot

30条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 09:35

    This worked for me, so just give it a try. i got this error while converting the code from swift 3 to swift 4.

    Simply, go to Project>Target>Build Setting and search 'Swift Compiler - Code Generation' and set Optimization level to 'No Optimazation[-Onone]'.

提交回复
热议问题