Xcode 7 compile error : “Command failed due to signal: Segmentation fault: 11”

前端 未结 25 2459
耶瑟儿~
耶瑟儿~ 2020-12-01 05:37

Yesterday I installed the official Xcode 7 and when I tried to open one of my Swift projects, appeared an alert saying that the new Xcode version wants to update my swift co

25条回答
  •  广开言路
    2020-12-01 06:14

    At first, I recommend to watch the build log carefully to find the file having problems. In my case, an optional value used in for loop caused Segmentation fault on the build process.

    for i in 0..

    I fixed my code like following;

    for i in 0..

    I have no error now. \(^o^)/

提交回复
热议问题