Error “Missing file libarclite“ (Xcode 14.3)

See how to fix the “Missing file libarclite“ error in Xcode. This is due to libraries with minimum deployment target of iOS 11.

Francesco Leoni

1 min read

Error

File not found: libarclite_iphone.a + Linker command failed

Complete error:

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

Linker command failed with exit code 1 (use -v to see invocation)

Linker command failed with exit code 1 error

Problem

This is error is connected to 3rd party libraries that have a minimum deployment target less than iOS 11.

Xcode 14 only supports building for a deployment target greater or equal to iOS 11.

Solution

The solution is quite simple but a bit tedious if you have a lot of dependencies.

You have to set all your libraries to a minimum deployment target equal to iOS 11 or greater.

To do this:

  1. Navigate to Pods project in the Project Navigator
  2. Select a target
  3. In General tab change the Minimum Deployments to iOS 11 or greater
  4. Repeat step 2 and 3 for each library
Missing file libarclite solution

Note

If you run pod install or pod update, you should repeat this process again.

Conclusion

I hope this is a temporary fix that will be updated in the future.

If you know a better solution please leave a comment.

If you have any question about this article, feel free to email me or tweet me @franceleonidev and share your opinion.

Thank you for reading and see you in the next article!

Share this article

Related articles


CloudKit With CoreData Not Working in Production

Discover why sometimes the sync between CoreData and CloudKit do not work in production but it does while developing.

1 min read

Q&AErrors

How To Take an Xcode Simulator Screenshot without Shadows

See how to take a ready to use screenshot of the Xcode Simulator embedded in the device bezel without any shadow or toolbar.

1 min read

SimulatorXcode

Error “Missing package product“ for Swift Packages (SPM)

See how to fix the “Missing package product“ error in Xcode caused by some Swift Packages added through SPM.

2 min read

Q&AErrors