my project was successfully builded and deployed the device, but when I want to archive to project for AppStore, I faced same error.
including using Xcode's Clean Build (Command + Shift + K ), Updated dependencies and change SWIFT_COMPILATION_MODE from Incremental to the Whole Module, the project was archived successfully using Xcode 13.3, but was not archived using Xcode 14.0.
Please help me