Xcode 14.3 fails creating an archive if it contains a pod

This takes 2 minutes to recreate:

  1. Create a new project in XCode
  2. Run pod init to create a pod file
  3. Add some pod to the pod file, I tried with MMWormhole or PhoneNumberKit or Realm
  4. Run pod install
  5. The app can be built however an archive cannot, it generates an error:

rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]

Switch to Xcode 14.2 however and the archive can be built

Xcode 14.3 fails creating an archive if it contains a pod
 
 
Q