The issue first came after I upgraded to Xcode 14.3, then to fix this I have added -f flag to the frameworks.sh file, also tried downgrading from 14.3 to 14.2. But the issue still exists.
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/hclabs/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/plutomobile/IntermediateBuildFilesPath/plutomobile.build/Release-iphoneos/plutomobile.build/Script-44280D450D5E221B6620F3A5.sh (in target 'plutomobile' from project 'plutomobile')
cd /Users/hclabs/Downloads/pluto-mobile/ios
/bin/sh -c /Users/hclabs/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/plutomobile/IntermediateBuildFilesPath/plutomobile.build/Release-iphoneos/plutomobile.build/Script-44280D450D5E221B6620F3A5.sh
This is the error I'm getting , As I browsed through the internet I saw that most people's issue were fixed by the -f flag. But it's kind of not working.