invertase / invertase/flutterfire_cli

[bug]: Unable to open `.../ios/Runner.xcodeproj` because it doesn't exist.

Open
#217 10 comments 1 reaction 1 assignee Claimed by @russellwheatley View on GitHub
bug keep open Needs Attention
Dominant language
Dart
Stars
193
Forks
74
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues.

### CLI Version

0.3.0-dev.18

### Firebase Tools version

12.5.4

### Flutter Doctor Output

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5 22G74 darwin-arm64, locale
en-DE)
• Flutter version 3.13.4 on channel stable at
/Users/dario/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (5 days ago), 2023-09-12 23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at /Users/dario/Library/Android/sdk
• Platform android-33, build-tools 33.0.1
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.82.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.62.0

[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5 22G74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
• All expected network resources are available.

• No issues found!

### Description

Hi I have used `flutterfire configure` but I get following error. I think it is because I renamed the Xcode Runner Project which is possible since Flutter `3.13`.

```
Unhandled exception:
Exception: /opt/homebrew/lib/ruby/gems/3.2.0/gems/xcodeproj-1.22.0/lib/xcodeproj/project.rb:110:in `open': [Xcodeproj] Unable to open `.../ios/Runner.xcodeproj` because it doesn't exist. (RuntimeError)
from -e:4:in `'

#0 findBuildConfigurationsAvailable (package:flutterfire_cli/src/common/utils.dart:484:5)

#1 promptCheckBuildConfiguration (package:flutterfire_cli/src/common/prompts/apple_prompts.dart:47:31)

#2 appleValidation (package:flutterfire_cli/src/common/validation.dart:85:34)

#3 ConfigCommand.run (package:flutterfire_cli/src/commands/config.dart:562:21)

#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

#5 main (.../.pub-cache/hosted/pub.dev/flutterfire_cli-0.3.0-dev.18/bin/flutterfire.dart:63:5)

```

### Steps to reproduce

1. Rename Xcode Runner Project
2. Run command `flutterfire configure`

### Expected behavior

Cli should work with renamed project

### Screenshots

_No response_

### Additional context and comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.