PhaseScriptExecution failed with a nonzero exit code after updating

Hi All

My orginal project is based on Ionic

I am getting the following error message in my project after my recent Xcode Update. I need to test my App on lastest IOS version, therefore i had to update X code.

I can succesully build, anylse my project. But when it comes archiving the project to the App store, this the error i am getting.

Can someone advice how i can solve this issue,


Showing All Errors Only

Build target App of project App with configuration Release
warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'App' from project 'App')
warning: Run script build phase '[CP] Copy Pods Resources' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'App' from project 'App')


PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/djj/Library/Developer/Xcode/DerivedData/App-eyfutxzbvwjhdjcknfdbrdfdhpwz/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh (in target 'App' from project 'App')
    cd /Users/djj/Documents/caa/App0002-caaTechApp/ios/App
    /bin/sh -c /Users/djj/Library/Developer/Xcode/DerivedData/App-eyfutxzbvwjhdjcknfdbrdfdhpwz/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-9592DBEFFC6D2A0C8D5DEB22.sh

mkdir -p /Users/djj/Library/Developer/Xcode/DerivedData/App-eyfutxzbvwjhdjcknfdbrdfdhpwz/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/App.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" "/Users/djj/Library/Developer/Xcode/DerivedData/App-eyfutxzbvwjhdjcknfdbrdfdhpwz/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Frameworks"
building file list ... rsync: link_stat "/Users/djj/Documents/caa/App0002-caaTechApp/ios/App/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Capacitor.framework" failed: No such file or directory (2)
done

sent 29 bytes  received 20 bytes  98.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

Command PhaseScriptExecution failed with a nonzero exit code



Build failed    19/05/2023, 19:57    14.3 seconds
PhaseScriptExecution failed with a nonzero exit code after updating
 
 
Q