简体   繁体   中英

FlutterFire/Firebase CLI: Failed to create iOS app for project myapp-e8cd7

I have been trying to register my flutter application with firebase in android studio, but it shows me this error:

abubakarshafiu@Abubakars-MBP myapp %  flutterfire configure -icom.ios.bubdle                                                                           
i Found 5 Firebase projects.                                                                                                                            
✔ Select a Firebase project to configure your Flutter application with · myapp-e8cd7 (MyApp)                                                            
✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios, macos, web                                      
i Firebase android app com.example.myapp registered.                                                                                                    
i Firebase ios app com.ios.bubdle registered.                                                                                                           
✔ Which macos bundle id do you want to use for this configuration, e.g. 'com.example.app'? · 'com.example.myapp'?                                       
i Firebase macos app 'com.example.myapp'? is not registered on Firebase project myapp-e8cd7.                                                            
i Registered a new Firebase macos app on Firebase project myapp-e8cd7.                                                                                  
FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.
COMMAND: firebase apps:create ios myapp (macos) --bundle-id='com.example.myapp'? --json --project=myapp-e8cd7 
ERROR: Failed to create iOS app for project myapp-e8cd7. See firebase-debug.log for more info.

i try applying this code but it still gave me the-same error

flutterfire configure -icom.ios.bubdle 

How do i fix Failed to create iOS app for project myapp-e8cd7

i have found the answer that i have been questioning and no one give me the answer but letter on i realise that the problem is from my idle platform which is Android Studio which i have to tick the four column which are android, ios, mac and web columns. And also you should just go to your firebase console site just copy and paste the root of your flutter project in which ever idle you are using. Android Studio

firebase console site

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM