If you use latest Xcode14.3.1, you can see:
Cannot load underlying module for AVFoundation.
But there are no problems in the old version Xcode14.3
If you use latest Xcode14.3.1, you can see:
Cannot load underlying module for AVFoundation.
But there are no problems in the old version Xcode14.3
Back to the Future
AVFoundation :-(
I am also having this issue but the app still works perfectly only error message
To Fix:
(present working directory, to make sure you are in correct path, should be /Users/{your name}/Library/Developer/Xcode/DerivedData rm -rf * ( delete all folders and files ) 3. Start Xcode again
The app seems to be working fine except on iOS 15.5.1