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
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.
–
–
–
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.