Xcode 14.3 RC known issues

This is a living document of known issues when building with Xcode 14.3. This list is based on our internal testing of the Xcode 14.3 RC stack.

Last updated based on Xcode 14.3 RC2 (14E222b)

Archive failure when running Cocoapods build script phase

The custom build script inserted by Cocoapods fails with the new Xcode version when creating an archive.
Error message:

Last lines of the Xcode's build log:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/ios-simple-objc-fjqiuxerqjpjyegnbbrbmypktgce/Build/Intermediates.noindex/ArchiveIntermediates/ios-simple-objc/IntermediateBuildFilesPath/ios-simple-objc.build/Release-iphoneos/ios-simple-objc.build/Script-D2777AFB87CAF57FB57038A9.sh (in target 'ios-simple-objc' from project 'ios-simple-objc')
    cd /Users/[REDACTED]/go/src/github.com/bitrise-steplib/steps-xcode-archive/_tmp/ios-simple-objc
    /bin/sh -c /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/ios-simple-objc-fjqiuxerqjpjyegnbbrbmypktgce/Build/Intermediates.noindex/ArchiveIntermediates/ios-simple-objc/IntermediateBuildFilesPath/ios-simple-objc.build/Release-iphoneos/ios-simple-objc.build/Script-D2777AFB87CAF57FB57038A9.sh
mkdir -p /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/ios-simple-objc-fjqiuxerqjpjyegnbbrbmypktgce/Build/Intermediates.noindex/ArchiveIntermediates/ios-simple-objc/BuildProductsPath/Release-iphoneos/ios-simple-objc.app/Frameworks
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" "/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/ios-simple-objc-fjqiuxerqjpjyegnbbrbmypktgce/Build/Intermediates.noindex/ArchiveIntermediates/ios-simple-objc/InstallationBuildProductsLocation/Applications/ios-simple-objc.app/Frameworks"
building file list ... rsync: link_stat "/Users/[REDACTED]/go/src/github.com/bitrise-steplib/steps-xcode-archive/_tmp/ios-simple-objc/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" failed: No such file or directory (2)
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/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

Issue tracker: Cocoapods repo issue tracker
There is a temporary workaround available.

We’ll keep updating this post if we find new issues and we would appreciate your reports too!


How I can adjust this temporary workaround in bitrise especially the pods folder is in .gitignore so, I can’t edit it and push

@hassan.btq add this code into your bitrise workflow after cocoapod step:

    - script-runner@0:
        title: Fix Xcode 14.3 Pods
        - file_path: scripts/fix-xcode-14.3-pods-archive.sh

add this file:


echo "Fixing Pods for Xcode 14.3..."
# stop on any fail and echo each command
set -ex

find Pods -name 'Pods-*-frameworks.sh' -type f -exec sed -i '' 's/source="$(readlink "${source}")"/source="$(readlink -f "${source}")"/' {} \;

Thanks @holyavkin works for me :heart:

Saw this as well, but it started happening about 24 hours after we upgraded to Xcode 14.3.

The fix above worked for us.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.