Command failed due to signal: Abort trap: 6

前端 未结 30 2219
暖寄归人
暖寄归人 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:25

    I was able to resolve it by making a change to the bridging header. In my case adding a line break was sufficient. Very strange bug.

    0 讨论(0)
  • 2020-12-01 09:26

    In Xcode 9.3, I have re-installed the specific pod, in which warnings appeared and cleared derived data again n again. It worked for me :)

    0 讨论(0)
  • 2020-12-01 09:27

    I got this error too on XCode 7 Beta 5. After I clean the build, then I got another error saying one of my class not conforming to the protocol I just changed. After I fix the issue, it builds. The protocol changes I made is to change two parameter type of a method from Int to Int32

    0 讨论(0)
  • 2020-12-01 09:27

    I resolved this problem with these steps:

    1. ran 'pod deintegrate'

    2. Makesure podfile like this: platform :ios, '8.0' use_frameworks!

    3. ran 'pod install'

    0 讨论(0)
  • 2020-12-01 09:28

    I was having this same problem and I found the problem was that I had changed the build system to "New Build System" after reading an article on "how to speed up your builds" (This is the article btw here)

    So to go back to the standard build system:

    1. To enable the new build system, go to File → Project Settings (or Workspace Settings).
    2. Change Build System to Standard Build System.

    Hope it helps someone and don't waste hours trying to find out why this was not working!

    0 讨论(0)
  • 2020-12-01 09:29

    I received this when did that:

    protocol ProtocolA {
        associatedtype BType: ProtocolB
    }
    
    protocol ProtocolB {
        associatedtype AType: ProtocolA
    }
    
    0 讨论(0)
提交回复
热议问题