Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: very_good create flutter_app doesn't create RunnerTests on iOS #766

Closed
omartinma opened this issue Jul 28, 2023 · 10 comments · Fixed by VeryGoodOpenSource/very_good_core#285 or VeryGoodOpenSource/very_good_core#310
Assignees
Labels
bug Something isn't working as expected

Comments

@omartinma
Copy link

omartinma commented Jul 28, 2023

Description
It seems that new versions of Flutter require an iOS profile called RunnerTests. Not sure what is the implication of this new profile but it is being called on Podfile

Steps To Reproduce

  1. Create new app with very_good create flutter_app my_app.
  2. Observe that RunnerTests is missing inside ios folder.
  3. Also if running the project this error appears

[!] Unable to find a target named RunnerTests in project Runner.xcodeproj, did find Runner

Expected Behavior
RunnerTests should be on ios folder, same than running flutter create

image
@omartinma omartinma added the bug Something isn't working as expected label Jul 28, 2023
@cofirazak
Copy link

same for me

@fabiomlferreira
Copy link

I have the same problem

@renancaraujo
Copy link
Contributor

Tracking fix on VeryGoodOpenSource/very_good_core#285

@renancaraujo
Copy link
Contributor

This should be fixed in the new CLI version

@yuruyuri16
Copy link

@renancaraujo I tried the latest version by just adding firebase_core and the error still shows up. 😥

@miguelangelflores1993
Copy link

I have the same problem

@yuruyuri16
Copy link

The problem is still there. I do not know much about Xcode but I believe that the RunnerTests directory has not being linked correctly.

The left side show a project created with flutter create and the right side uses the very good cli.

Screenshot 2023-12-10 at 00 30 08

@ItsAlexousd
Copy link

I have the same error with a freshly created project (latest CLI version).

@alestiago
Copy link
Contributor

alestiago commented Dec 11, 2023

Thank you for your patience @yuruyuri16 and @ItsAlexousd.

This hasn't been released within Very Good CLI yet, but it has been released on Brickhub. If you would like to generate using the Brickhub release you can follow the instructions in the Brickhub website.

We aim to be releasing Very Good CLI v0.19.0 soon, which will include the fix. You can track the release in the Releases section.

@alestiago
Copy link
Contributor

alestiago commented Dec 11, 2023

As a heads up, Very Good CLI v0.19.0 has now been released. Generating a flutter_app should run successfully in iOS again 🙌 💙

(cc: @yuruyuri16 , @ItsAlexousd )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
9 participants