Skip to content

dev/integration_tests/ios_add2app_life_cycle is broken #131261

@dcharkes

Description

@dcharkes
ios_add2app_life_cycle dacoharkes$ ./build_and_test.sh 
~/flt/engine/flutter/dev/integration_tests/ios_add2app_life_cycle/flutterapp ~/flt/engine/flutter/dev/integration_tests/ios_add2app_life_cycle
Resolving dependencies... 
  material_color_utilities 0.5.0 (0.8.0 available)
Got dependencies!
Found saved certificate choice "Apple Development: Daco Harkes (7CG8QJCAGD)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Daco Harkes (7CG8QJCAGD)"
Found saved certificate choice "Apple Development: Daco Harkes (7CG8QJCAGD)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Daco Harkes (7CG8QJCAGD)"
Building com.example.iosAdd2appFlutter for simulator (ios)...
Running Xcode build...                                                  
 └─Compiling, linking and signing...                      1,472ms
Xcode build done.                                            9.4s
Built
/Users/dacoharkes/flt/engine/flutter/dev/integration_tests/ios_add2app_life_cycle/flutterapp/build/ios/iphonesimulator/
Runner.app.
~/flt/engine/flutter/dev/integration_tests/ios_add2app_life_cycle

[!] Invalid `Podfile` file: No such file or directory @ rb_sysopen - /Users/dacoharkes/flt/engine/flutter/dev/.ios/Flutter/Flutter.podspec.

 #  from /Users/dacoharkes/flt/engine/flutter/dev/integration_tests/ios_add2app_life_cycle/Podfile:13
 #  -------------------------------------------
 #  target 'ios_add2appTests' do
 >    install_flutter_engine_pod
 #    pod 'EarlGreyTest'

The call should have an argument to provide the path.

That argument has been expected since 36be63b (15 months ago) in templates/module/ios/library/Flutter.tmpl/podhelper.rb.tmpl.

After passing the argument, the test runs, succeeds in starting the app on the simulator, and then the test fails. This makes me think this whole test isn't currently exercised on the CI?

cc @vashworth

Context: #130494 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowf: integration_testThe flutter/packages/integration_test pluginfound in release: 3.10Found to occur in 3.10found in release: 3.13Found to occur in 3.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions