Resolving this problem was one of the most tricky errors in my life..
I resolved this for a Flutter project, in your case it might be a native iOS project.
It’s easier to do the following:
1- Open your project using XCode
2- Search of "Symlinked..."
3- Replace source="$(readlink "${source}")"
with source="$(readlink -f "${source}")"
4- Try again to build your project or export your ipa it should work
For reference check more details here