Unable to build project in Xcode 14.3 beta due to missing arc dir at /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

  • Also, have tried turning it on and off again.

  • I encountered the same bug in Xcode 15 Beta 4. To fix it, I had to change the iOS Development Target for the Pods. By default, the previous project settings showed support for older iOS versions like iOS 9 or 8, which caused the issue. I selected iOS 12 as the minimum deployment target, and that resolved the problem.

Add a Comment

Apple Recommended

  • It's a curious change because the whole /usr/lib/arc directory is gone in Xcode 14.3 beta. I ran into it yesterday when building a macOS project that had min target of 10.9, and got an error that libarclite_macosx.a was missing. (And also warnings that the deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.3.99).

  • For an even more direct answer, from DTS's tools specialist no less, see this thread.

Add a Comment

Replies

  • It's a curious change because the whole /usr/lib/arc directory is gone in Xcode 14.3 beta. I ran into it yesterday when building a macOS project that had min target of 10.9, and got an error that libarclite_macosx.a was missing. (And also warnings that the deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.3.99).

  • For an even more direct answer, from DTS's tools specialist no less, see this thread.

Add a Comment

Thank you! That makes so much sense. CocoaPods iOS deployment target defaults to 8. Guess it is time to modify the Podfile to change it and let them know.

  • @k.alonso, did updating the iOS deployment target work for you? My deployment target is ios 14.0 and I still get the same error.

  • Did you get this to work k.alonso? My target deployment is at ios 14.0 and still failing with the same error.

Add a Comment

k.alonso, did modifying the podfile work for you? My target deployment is ios 14.0, and I'm still getting the same error.

  • Mine is 16.4 and i'm still getting the same error.

Add a Comment

I am also facing the same prooblem and have tried several approaches to solve but failed. I hope that someone who's overcome or understand this problem share with us the solution.

result in your pod private lib , pod lib's minideployment target should up to iOS11 and more

edit your podfile as this

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'] = '11.0'
         end
    end
  end
end
  • Version 14.3 beta 2 (14E5207e)

  • works for me

  • Praise you brother.

works for me, Version 14.3 beta 2 (14E5207e)

It is not working for me: Version 14.3 (14E222b)... Pretty annoying, first we receive an iOS update (16.4) which brakes the compatibility with xCode 14.2... Than after updating to version 14.3 RC, still not working but with a different error...

  • I found a way. First you have to upgrade your deployment target . personnally I set it to 15. then:

    1- run pod deintagrate

    2- run pod install --repo-update

    3 rebuild the app

    That should work! The problem seems to be legacy package that target old os.

Add a Comment

Hi please let me know if you find any fix.. I'll do the same... tks

Hi, open your ios project directory in the terminal, and execute: pod install

same problem

Just upgraded Xcode Version 14.3 (14E222b) and encountered the same problem

Post not yet marked as solved Up vote reply of yybs Down vote reply of yybs

Yo también tengo el gusto de disfrutar del mismo problema !!

  • yo igual tengo ese gusto XD

Add a Comment

Vale, he podido solventar el problema cambiando en "Minimum Deployments" a versión por ejemplo 14.0 en todos los TARGETS de Pods.

  • thanks brother, it worked

  • Funciona tengo xcode 14.3.1 y subiendo los targets a 14 resolvio el problema

Add a Comment

Change 8.0 to 11.0 worked for me

Hi all,

I also encountered this problem when I updated my XCode from 14.2 -> 14.3, official release.

What worked for me was a sequence of steps:

  1. from your project folder, flutter clean ios, then flutter pub get.

  2. in terminal, 'cd ios' , and run: pod deintegrate

  3. delete podfile.lock

  4. in podfile, set platform :ios, '13.0'

  5. keep the last block THE SAME as you found it (which is different from steps suggested by johnson0513 above. In my case, it was:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end
  1. in ios folder, run: pod install

  2. open 'Runner.xcworkspace' => Pods => highlight all packages in 'Targets' => set 'iOS Deployment Target' to 'iOS 11.0'

    • This seems like the manual version of what Johnson0513 suggests, but this manual process was what made all the difference for me.
  3. Run the build! You can also build your project on your IDEs like VSCode.

  • Thanks it's work

  • I also ran into the same issues while building a Flutter project but I managed to update the Podfile so that it sets the deployment targets in an automated way:

    post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end flutter_additional_ios_build_settings(target) end end

  • While working on this issue further, I realized that you don't need to change all deployment targets for this to work. You just need to change any targets with iOS version below 9.0 to iOS 11.0. Just FYI!