Skip to content

flame_game create: No such module 'XCTest' #888

@jeremiahlukus

Description

@jeremiahlukus

Description
A clear and concise description of what the bug is.

Steps To Reproduce

very_good create flame_game my_game --desc "My new Flame game"
flutter pub get
flutter run --flavor staging --target lib/main_staging.dart

Error:

Launching lib/main_staging.dart on iPhone 15 Plus in debug mode...
Running Xcode build...                                                  
 └─Compiling, linking and signing...                        648ms
Xcode build done.                                            7.9s
Failed to build iOS app
Swift Compiler Error (Xcode): No such module 'XCTest'
/Users/jeremiah.parrack/freelance/my_game/ios/RunnerTests/RunnerTests.swift:2:7


Could not build the application for the simulator.
Error launching application on iPhone 15 Plus.

Additional Context
This is on creation of a new flutter_game app using the cli

flutter --version
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (3 weeks ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0

Mac OS: 13.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions