skip to Main Content

enter image description here

I opened the project and i got this error, i don’t think i can do this with code, i would appreciate it if someone can help.I don’t know what to do about it and I’ve tried many ways, I am getting errors from classes that I have not encountered before and I have never received such an error (please take a look at the photo above).

3

Answers


  1. Chosen as BEST ANSWER

    This error actually occurs when the same name is used in 2 files, and the solution is to change the name of the last file you created.


    1. Do you use Eureka pod?
      I had the same Segmentation Fault: 11 issue with Eureka on xcode 12 (please see related github issue). Solution: update Eureka to 5.3.0 (or higher)

    2. Do you use another pod that is not updated to use xcode 12?

    3. Another possible way to fix that: clean build folder (Product > Clean Build Folder) + clean Derived Data Folder (rm -rf ~/Library/Developer/Xcode/DerivedData). And then just build project again.

    Login or Signup to reply.
  2. I had the same error but I am not certain what the causes was.

    However,the steps below helped me fix the error:

    Product > Clean Build Folder (command + shift + k)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search