Has anyone recently updated their Xcode, iOS and MacOS and is perhaps having the same issue as me? I have updated Xcode to latest version and after trying to Archive the app so I could upload a new build version to app store I keep getting this error:
Command PhaseScriptExecution failed with a nonzero exit code
and this:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/blazw/Library/Developer/Xcode/DerivedData/App-cjlyvstgewichsheopwjaqqfczpa/Build/Intermediates.noindex/ArchiveIntermediates/Svet\ gastronimije/IntermediateBuildFilesPath/App.build/Release-iphoneos/Svet\ gastronimije.build/Script-421B80DAB9083632D2B6ED13.sh (in target 'Svet gastronimije' from project 'App')
cd /Users/blazw/Documents/Personal/Angular/vigros-app/ios/App
/bin/sh -c /Users/blazw/Library/Developer/Xcode/DerivedData/App-cjlyvstgewichsheopwjaqqfczpa/Build/Intermediates.noindex/ArchiveIntermediates/Svet\\\ gastronimije/IntermediateBuildFilesPath/App.build/Release-iphoneos/Svet\\\ gastronimije.build/Script-421B80DAB9083632D2B6ED13.sh
mkdir -p /Users/blazw/Library/Developer/Xcode/DerivedData/App-cjlyvstgewichsheopwjaqqfczpa/Build/Intermediates.noindex/ArchiveIntermediates/Svet gastronimije/BuildProductsPath/Release-iphoneos/Svet gastronimije.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/blazw/Library/Developer/Xcode/DerivedData/App-cjlyvstgewichsheopwjaqqfczpa/Build/Intermediates.noindex/ArchiveIntermediates/Svet gastronimije/InstallationBuildProductsLocation/Applications/Svet gastronimije.app/Frameworks"
building file list ... rsync: link_stat "/Users/blazw/Documents/Personal/Angular/vigros-app/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/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
I get this error only when Archiving the app… it builds normally if I connect my iPhone to my Mac and run it on the phone…
Post
Replies
Boosts
Views
Activity
Hello all :)
I am making an app for iPhone and am using my iPhone 14Pro to which I build my app to. Everything worked fine until tuesday when I updated my Mac and iPhone to the lates MacOS and iOS... now after I connect my iPhone to the Macbook and click build in Xcode I get this ERROR message: Failed to prepare the device for development. This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.
I restarted my iPhone and Mac several times and nothing fixes the issue...