相关文章推荐
多情的自行车  ·  HTTP response codes - ...·  1 年前    · 
酷酷的便当  ·  gitlab HTTP Basic: ...·  1 年前    · 
憨厚的打火机  ·  linux - Calibrating ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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

Ask Question

I’m trying to build my Flutter project in Xcode, but I keep getting the following 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.

I’ve tried reinstalling Xcode several times through the App Store and normal download but nothing seems to work. Any ideas on how to fix this?

Let me know if you have any other questions.

Try setting the minimum iOS deployment target to 11.0, from your Podfile :

 platform :ios, '11.0'

Maybe there's a pod you're using but the deployment target is not suitable.

Why setting 11.0? Because it is supported by majority of the pods and iOS devices. This worked for me.

Unfortunaly it still does not work. The app worked fine until yesterday when there appeared an update of XCode. I propose that this update caused the issue. – Luca_54 Apr 4 at 16:36 Got it, I guess there's a specific package in your pubspec.yaml that adds a pod to iOS side and it's not aligning well with the deployment target. Check once with the documentation of that package on its pub.dev Readme page. @Luca_54 – Yash Pathak Apr 4 at 17:02 till 2 days before it worked. suddenly I too get this error. same code, no change. any solution? error "but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FMDB' from project 'Pods') Result bundle written to path: /var/folders/ll/h6sb3gwx1sz95139gvn2781r0000gn/T/flutter_tools.Sb8MfD/flutter_ios_build_temp_dir8YrlYA/temporary_xcresult_bundle Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a" – anand Apr 6 at 10:11

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.