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).
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)
Do you use another pod that is not updated to use xcode 12?
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.
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)
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.