xcode will run app on device but not on simulator

while running app on simulator geting error- 1.No such module 'AppsFlyerLib' 2. Could not read serialized diagnostics file: error("Invalid diagnostics signature”). Command CompileSwift failed with a nonzero exit code

But in the Device running app with out any error

xcode will run app on device but not on simulator
 
 
Q