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).
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
3
Answers
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.
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)