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

I found the arc folder it's referencing to be completely missing from my Xcode 14.3 install. Since I still had the Xcode 14.2 install on my computer, I navigated to the arc folder in that installation, copied it and pasted it into the Xcode 14.3 location it was missing from.

Do not do this. Once you start modifying your local copy of Xcode you leave the path of what’s supported. See this post for my thoughts on why that’s a bad idea (it’s from a very different context but the same lesson applies).

The correct solution is to work through your build system to determine why it’s trying to use this ancient library. Many folks have already done that successfully and posted their experience on this thread. I recommend that you follow their path, rather than applying an expedient workaround that will cause more problems down the line.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hello dear when i use cloud_firestore dependencies after my project didn't run on simulator so plz guide to me