Since the update, xCODE10 code does not associate, every time a new class is created, there is no prompt to import header files in other classes, manual writing also does not report errors, class methods do not associate, it is very difficult. Strangely enough, restarting Xcode returned to normal. I found many sources on the Internet and many people recommended this method

Build Settings -> User Header Search Paths Double click, fill in $(PODS_ROOT) and set to recursiveCopy the code


I don’t know if it works with other people, but I’ve tested it and it doesn’t

There is another method available online

1.Org Anizer -> Projects -> Remove Derived Data from all Projects

2. Enter the ~ / Library/Developer/Xcode/DerivedData this folder, delete the related project folder inside can solve the problem




This method doesn’t work either

Try my method, which is to ask a great god around you

File – Workplace setting – building system – Legecy building system Restart Xcode after completion