xcode build fail after update 13.4 -> 14.3

Build is failing after updating xcode with the following error

IN 66 issues
   Command PhaseScriptExecution failed with a
   nonzero exit code
   
   unable to open dependencies file (/Users/
   sam/Library/Developer/Xcode/
   DerivedData/IN-hgqzkxmfwligainccwptfnkvijjt...
   
   failed to emit precompiled header '/Users/
   sam/Library/Developer/Xcode/
   DerivedData/IN-hgqzkxmfwligainccwptfnkvijjjt...
   
AppManager.h
   NotificationBannerSwift/
   NotificationBannerSwift-Swift.h' file not
   found

EventBookingLocalObject.h
   'Realm/Realm.h’ file not found
Firebase.h
   'FirebaseCore/FirebaseCore.h' file not found
FPNTextFieldMyDelegate.h
    FlagPhoneNumber-Swift.h' file not found
IN.abi,json

  [Users/sam/Library/Developer/Xcode/
   DerivedData/IN-
   hggzkxmfwiqainccwptfnkvjjjtw/Build/Interm...

IN.swiftdoc

   [Users/sam/Library/Developer/Xcode/
   DerivedData/IN-
   hgqgzkxmfwiqainccwptfnkvijjtw/Build/Interm...

IN.swiftmodule

   [Users/sam/Library/Developer/Xcode/
   DerivedData/IN-
   hgazkxmfwigainccwptfnkvijjtw/Build/Interm...

IN.swiftsourceinfo

   [Users/sam/Library/Developer/Xcode/
   DerivedData/IN-
   hggzkxmfwiqainccwptfnkvjjjtw/Build/Interm...

INLocationManager.m
  'IN-Swift.h' file not found
UserClassRealm.h
  'Realm/Realm.h’ file not found

I have tried the following

  • Cleaned and Rebuild the Project
  • Updated my Libraries
  • Checked My Import Statements
  • Re-installed the Libraries
  • Checked My Bridging Header
  • Checked My Project Configuration
  • Uninstalled and installed the cocoapods

Is there anything else that I can try, or any order of checks that I need to follow. Does formatting the macbook help ?

xcode build fail after update 13.4 -> 14.3
 
 
Q