we have to recreate podfile again, and remove podfile.lock and folder pods after upgrade xcode 14.3.1, and error will be gone, that's works for me
Topic:
App & System Services
SubTopic:
Core OS
Tags: