Cocapods POD copy script fails

Two days back Cocoapods copy pods script starts to fail when running in GitHub actions it runs fine in local machines