Hello
I see the problem but it won't be straightforward to fix. The reason is that the version of /usr/bin/xargs used in macOS (and the range of options it accepts) is not exactly in line with the implementation of xargs used in the CocoaPods VM. The culprit is the VM's operating system whose implementation of xargs is not POSIX-compliant (because the -L flag *is* specified by POSIX).
I need to recompile a xargs binary in the CocoaPods VM that will be more POSIX-compliant and accept this option. This will be in the next version.