flutter app not running on ios simulator after adding firebase notification

0 votes

when I want to run the Flutter app on ios after Xcode build it gives me this 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.

Apr 10, 2023 in Flutter by Ashwini
• 5,430 points
4,551 views

1 answer to this question.

0 votes

The error message you provided seems to be related to a missing library file that is needed for building the app on the iOS simulator. This error is usually caused by Xcode not being able to find the library file at the specified path.

To resolve this issue, you can try the following steps:

  1. Close Xcode and clean the project by running the following command in your terminal:

    flutter clean
  2. After the cleaning process is complete, open Xcode and try to build the app again.

  3. If the issue persists, try updating the Flutter and Firebase packages to their latest versions. You can do this by running the following commands in your terminal:

    flutter pub upgrade
  4. If the above steps do not work, try deleting the app from the simulator and then running it again. To delete the app, open the simulator, locate the app icon, press and hold it until the icons start to jiggle, then tap the X button to delete it.

  5. Finally, make sure that the Firebase notification configuration is set up correctly in your Flutter project. You can follow the Firebase Flutter documentation to set up Firebase in your app: https://firebase.flutter.dev/docs/overview

If none of these steps resolve the issue, you may need to provide more information about your Flutter and Xcode setup, as well as any additional error messages that you are seeing.

To know more, join our Flutter Training today.

answered Apr 10, 2023 by vishalini

Related Questions In Flutter

0 votes
1 answer

Flutter plugin fails to build on iOS

It looks like the error is related ...READ MORE

answered Mar 31, 2023 in Flutter by chandru
1,234 views
0 votes
1 answer

iOS debugging not working on thunderbolt port in mac mini

If your iOS device is not being ...READ MORE

answered Apr 20, 2023 in Flutter by vishalini
263 views
0 votes
1 answer

How can I change the app display name build with Flutter?

Yes, you can change the app display ...READ MORE

answered Mar 21, 2023 in Flutter by venky
1,955 views
0 votes
1 answer

How to make flutter app responsive according to different screen size?

To make your Flutter app responsive according ...READ MORE

answered Mar 27, 2023 in Flutter by anonymous
6,191 views
0 votes
0 answers

iOS + Firebase Analytics not showing correct location

I'm using Unity 2019 LTS and Firebase ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
563 views
0 votes
1 answer

Why is applicationWillTerminate not being called on the first launch of my app?

The applicationWillTerminate method is called by the ...READ MORE

answered Mar 18, 2023 in Android by vishalini
1,342 views
0 votes
1 answer

How to fix an invalid CFBundleVersion error?

Yes, the error message suggests that the ...READ MORE

answered Apr 6, 2023 in Flutter by pooja
5,109 views
0 votes
1 answer

URL Scheme for iOS Home App

I think you could try doing it ...READ MORE

answered Nov 16, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
918 views
0 votes
1 answer

Flutter Like Button Animation Not Working After Adding Method

It seems like the issue might be ...READ MORE

answered Apr 12, 2023 in Flutter by Tanishqa
• 1,170 points
639 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP