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

when i build my app i have issue Failed to build iOS app Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

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

Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.

Answered by DTS Engineer in 752314022

Xcode 14 only supports building for a deployment target of iOS 11. libarclite was necessary for older OS versions, but is now obsolete. If you're encountering errors referring to this library, you should audit every target in your project for those that declare support for a minimum deployment target under iOS 11, and update them to at least iOS 11, or something more recent than that. You should not modify your Xcode installation to resolve this.

Same.

[ +2 ms] Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

[ +2 ms] Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

[ +2 ms] Could not build the application for the simulator. [ ] Error launching application on iPad (10th generation). [ +8 ms]

Same, after updating to 14.3....

Same issue after installing latest xcode version.

I'm getting this too after upgrading to xcode 14.3

Same issue, ruined my morning session

To fix this issue, you must ensure that the iOS Deployment Target of your pods is 11.0; pods with a iOS Deployment Target of 8.0 were causing the issue for me.

Example pods that were set to iOS Deployment Target 8.0: leveldb-library, nanopb.

You will receive this error for any pods that are set to 8.0 when building, so change them to 11.0 either manually or with a post install script in your Podfile.

Open Terminal and go to the follow folder:

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

Create the folder arc:

sudo mkdir arc
cd  arc
sudo git clone https://github.com/kamyarelyasi/Libarclite-Files.git .

Give the necessary permission:

sudo chmod +x *

Now you will be able to build and run

Xcode 14 only supports building for a deployment target of iOS 11. libarclite was necessary for older OS versions, but is now obsolete. If you're encountering errors referring to this library, you should audit every target in your project for those that declare support for a minimum deployment target under iOS 11, and update them to at least iOS 11, or something more recent than that. You should not modify your Xcode installation to resolve this.

15

https://rattle-cornucopia-d72.notion.site/Xcode-Project-Build-Error-missing-files-libarclite_iphonesimulator-a-e56022f7318e4685a8794be79d4bd28a

Add this at the end of your podfile (+ pod install) to override the iOS Deployment Target of all your pods. Make sure to choose the appropriate minimum deployment target (iOS 11 or above).

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
    end
  end
end

Xcode 14 only supports building for a deployment target of iOS 11. libarclite was necessary for older OS versions, but is now obsolete. If you're encountering errors referring to this library, you should audit every target in your project for those that declare support for a minimum deployment target under iOS 11, and update them to at least iOS 11, or something more recent than that.

I updated POD minimum deploymnet to 11.0 and it worked for me.

I just updated POD minimum deploymnet to 11.0 and it worked for me.

post_install do |pi|
  pi.pods_project.targets.each do |t|
    t.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
    end
  end
end

Add above line at the end of your Podfile. Replace 15.0 with your deployment IOS version. Run Pod Install. Delete Derived Data. Re-Run. Build will succeed.

this error is because the Target version of one of your Pods that not compatible with your application minimums target, In my application I used Reachability Pods by default the minimum version was 8.0 and my app target version was 11.0 So I fixed it by Changing the Pods version to my App version which is 11.0

Solution Pod -> chose target -> BuildSetting -> change the IOS Deployment Target

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