XCode 15 - issue while building archive - file or directory not found

I use Xcode 15, pods 1.14.0, ruby 3.2.2. My project builds fine for simulator, but I get an error when trying to build archive :

rsync: [sender] change_dir "/Users/myname/MyApp../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos" failed: No such file or directory (2)

brew is up to date, so is rsync All updates look good. I'm struggling for days now, I can't get what's wrong. Did anyone faced this issue ?

Also tried this In your xcode, Go to PODS folder : Target Support Files => Pods-{Your Project} => Pods-{Your Project}-frameworks

Change

source="$(readlink "${source}")" this :

source="$(readlink -f "${source}")" but it didn't worked

Same issue. Any luck on this?

Did you find a fix for this ? I'm struggling for the last 2 weeks to find a solution.

XCode 15 - issue while building archive - file or directory not found
 
 
Q