Can't add C++ Actor Component for static mesh

I am on MacOS 10.15.6 (19G2021)
when I try to add new C++ component for my static mesh, after I clicked create class,
below error message popped up:

Successfully added class ‘DoorOpen’, however you must recompile the ‘escapeGame’ module before it will appear in the Content Browser. Failed to automatically hot reload the ‘escapeGame’ module.
Would you like to open the Output Log to see more details?

Output Log Error:

CompilerResultsLog: fatal error: file
‘/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/_posix_availability.h’
has been modified since the
precompiled header
‘/Users/sky/Undemy_Unreal_Project/Game_Escape_4.22/escapeGame/Intermediate/Build/Mac/escapeGameEditor/Development/Engine/SharedPCH.Engi
ne.h.gch’ was built: mtime changed