My project was fine until I upgrade my Xcode to Xcode 14, after I upgrade my Xcode a few week, now that every time I try to debug and print it always show error like below and I can't figure it out why:
warning: Swift error in scratch context: error: failed to load module 'UAT'
.
Shared Swift state for UAT.app has developed fatal errors and is being discarded.
REPL definitions and persistent names/types will be lost.
error: expression failed to parse:
I've separate my project target into 4 different targets and the error occurs on every target, I had try to run my project on Xcode 13 and debugger work fine except on Xcode 14, now I can only use print instead of debug console. Does anyone actually ever face this problem like me? Any help would be much appreciate.