Xcode 14.3 Frustrating Issues Compilation and Solutions

In this guide, we address a collection of frustrating issues that developers have encountered while working with Xcode 14.3. As a powerful and versatile integrated development environment, Xcode 14.3 comes with its share of challenges. By compiling these problems and providing solutions, we aim to help fellow developers overcome these hurdles and streamline their workflow. This document covers topics ranging from packaging anomalies to compatibility issues with third-party libraries and offers step-by-step instructions to resolve them effectively.

Archiving errors – files can not be transferred (code 23)

There will be an error occur no matter you use Xcode’s Archive or through Fastlane:

rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots

Solution:

  1. Upgrade Cocoapods to 1.12.1 or above.

2. If for some reason you cannot upgrade Cocoapods. You can locate the Pods-ProjectName-frameworks.sh file and modify this code snippet. Please note that the modifications need to be made again each time after you run pod install.

source="$(readlink "${source}")"

change to

source="$(readlink -f "${source}")"

Error – lost libarclite_iphoneos.a

After upgrading to Xcode 14.3 and compiling the project, you may encounter the following error:

File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

This issue might be due to certain third-party libraries having set a support version that is too low (iOS 10 for example). You can insert this code snippet to Podfile, then run pod install again to resolve it.

post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
               end
          end
   end
end

If lifting the deployment version is not possible for some libraries, you can find the missing file libarclite_iphoneos.a from this repository.

Copy the file to

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/

Error – app built is not able to open on iOS 13.6

This issue is only resolvable by rolling back to Xcode 14.2.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top