error

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.

same issue with my flutter ios project, did you found any solution?

What I found is package in your pubspec.yaml file is not updated to the latest Xcode.

My solution was to install the previous version of XCode and add it to my 'Applications' folders as something like "Xcode14.2"

Launch either Xcode the navigate to "Xcode -> Settings" Selected the "Locations" tab Tap "Command Line Tools:" Selected the previous version (in my calse "Xcode14.2") from the drop down.

Should work now.

EXTRA: To find which package(s) are not updated, open the Runner.xcworkspace in your flutter projects iOS folder and try to run the program from XCode. I get the name of the package that caused the error. Then you can contact the developer, find another package, or fork the existing cone

Just update all the firebase dependency to the last version

This going to be 100% working fix for you. At first analyze the issue.

The error state that there are fre files that are missing(Actually one). As of the issue probably arc folder is missing in 14.3(public&beta) release candidates.

Things to do

Head over to this location

NOTE: Public candidate

# If public release candidate (14.3)
cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

NOTE: Beta candidate

# If beta release candidate (14.3 beta)
cd /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

Create a dir with sudo permissions(Won't allow you without sudo)

sudo mkdir arc
cd arc

Now clone(I personally recommend)/download a github repo Libarclite-Files

git clone https://github.com/kamyarelyasi/Libarclite-Files.git .

Grand execution permissions for everything in it.

sudo chmod +x *

Now try

pod deintegrade
rm -rf podfile.lock
pod install

Ideally, after this pod installs it should work. If not follow this(But need to do it every time you deintegrate and install them)

  • Go to Pods\Target Support Files\Pods-Runner or Pods-App
  • Open Pods-Runner-frameworks.sh or Pods-App-frameworks.sh in an editor
  • Search for source="$(readlink "${source}")"(Ideally at line:45)
  • And update it to source="$(readlink -f "${source}")"

NOTE: This is one time setup. So you don't need to change your app configs because of your dev env.

Reference: 725300#749767022(Comment)

13

Hi, I have same issue, but I was using Firebase messaging. XCODE->Pods then check target versions. I did changed to all of my target version which was 13.0 then it fixed. I hope this may help.

error
 
 
Q