Rename class via Xcode

I am developing new version for Mapp Intelligence library (https://github.com/mapp-digital/MappIntelligence-iOS-v5) and I had to rename few classes at the latest version to avoid collision with some other library when they are added together. After that when I run pod lib lint command if gives me errors for every renamed class that can not find the relative path for it.

Encountered an unknown error (No such file or directory @ realpath_rec - /Users/***/Desktop/novagrana/MappIntelligence-iOS-v5/MappIntelligence/UserMatching/DeviceID/APXIdentifier.h) during validation.

and APXIdentifier.h is an old name not renamed one.

I have tried to remove derived data and cache but no success, also remove cocoa pods and install them again, no success.

When I am renaming class with Xcode right click on class name then rename option, it renames it well everywhere and it builds successfully but for relative path rec, do I need to change something where I can find this?

Thanks in advance, Stefan