Closed tmitchmachine closed 1 month ago
manually open Start iOS simulator in VS Code flutter run --verbose
[ +15 ms] Failed to build iOS app
[ +6 ms] Error (Xcode): Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-resources-Debug-input-files.xcfilelist'
[ +5 ms] Error (Xcode): Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-resources-Debug-output-files.xcfilelist'
[ ] Error (Xcode): Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-input-files.xcfilelist'
[ ] Error (Xcode): Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist'
[ +3 ms] Could not build the application for the simulator.
[ ] Error launching application on iPhone 16 Pro.
[ +5 ms] "flutter run" took 140,711ms.
[ +55 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:874:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>
same issue,Have you found a solution? @tmitchmachine
Launching lib/main.dart on iPhone 12 in debug mode...
Xcode build done. 43.6s
Failed to build iOS app
Error (Xcode): Undefined symbols:
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited (1).
hammadalive7 solved this ✅. If you look at the last 2 commits you will see the changes that were made to the repo that enabled it to work again https://github.com/tmitchmachine/genplan
Steps to reproduce manually open Start iOS simulator in VS Code flutter run --verbose
Source repo https://github.com/tmitchmachine/genplan
The project bundle identifier name was changed from com.example.genplan to an new name while back. https://github.com/tmitchmachine/genplan
Newly created Flutter projects work successfully. The project launches when I run it from Xcode it works.
it always makes it to here and then takes a long time and fails [ +3 ms] Running Xcode build... [ +1 ms] executing: [/Users/heavenya/Github/github_genplan/ios/] xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/heavenya/Github/github_genplan/build/ios -sdk iphonesimulator -destination id=7DDD39BE-64EC-4765-97DE-E0D970890B45 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/hw/8n3jpn3d1hzfyc7tt8k44z700000gs/T/flutter_tools.t tG2R3/flutter_ios_build_temp_dirq9gXhX/pipe_to_stdout -resultBundlePath /var/folders/hw/8n3jpn3d1hzfyc7tt8k44z700000gs/T/flutter_tools.ttG2R3/flutter_ios_build_te mp_dirq9gXhX/temporary_xcresult_bundle -resultBundleVersion 3
when I use git checkout to an older versions of the app before adding firebase it worked. I think the problem likely is with firebase or my setup of it anytime I start using an integration of firebase the app stops launching whether it's dragging files over to a fresh project or anything.