PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks error in XCoe 14.2

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.

I was with the same error. In my case was the cocoapods version 1.12.1. I solved replace cocoapods step to this: - task: PowerShell@2 displayName: 'Install Cocoapods 1.12.0' inputs: targetType: 'inline' script: | sudo gem install cocoapods -v 1.12.0 pod _1.12.0_ install --repo-update

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks error in XCoe 14.2
 
 
Q