I’ve been attempting to run my app for a very long time, and I’ve tried many issues however I couldn’t run it. I’ve tried to replace some packages, run older variations of the app, replace Flutter SDK, replace Xcode, my MacOS however nothing actually labored.
That is the error I get.
Launching lib/major.dart on iPhone 15 Professional in debug mode...
Operating pod set up... 56.5s
Operating Xcode construct... ⠉
└─Compiling, linking and signing... 25.3s
Xcode construct carried out. 405.1s
Didn't construct iOS app
Error (Xcode): Undefined symbols:
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Couldn't construct the applying for the simulator.
Error launching software on iPhone 15 Professional.
that is the error with flutter run -v
[ +120 ms] Didn't construct iOS app
[ +2 ms] Error (Xcode): Undefined symbols:
[ +2 ms] Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
[ +4 ms] Couldn't construct the applying for the simulator.
[ ] Error launching software on iPhone 15 Professional.
[ +3 ms] "flutter run" took 378,969ms.
[ +3 ms]
#0 throwToolExit (package deal:flutter_tools/src/base/frequent.dart:10:3)
#1 RunCommand.runCommand (package deal:flutter_tools/src/instructions/run.dart:752:9)
<asynchronous suspension>
#2 FlutterCommand.run.<nameless closure>
(package deal:flutter_tools/src/runner/flutter_command.dart:1350:27)
<asynchronous suspension>
#3 AppContext.run.<nameless closure>
(package deal:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package deal:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<nameless closure>
(package deal:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
<asynchronous suspension>
#6 AppContext.run.<nameless closure>
(package deal:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand
(package deal:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
<asynchronous suspension>
#8 run.<nameless closure>.<nameless closure> (package deal:flutter_tools/runner.dart:112:9)
<asynchronous suspension>
#9 AppContext.run.<nameless closure>
(package deal:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 major (package deal:flutter_tools/executable.dart:90:3)
<asynchronous suspension>
[ +7 ms] Operating 1 shutdown hook
[ +10 ms] Shutdown hooks full
[ ] exiting with code 1
I’ve additionally tried
flutter clear
rm -rf Pods Podfile.lock
pod repo replace
pod deintegrate
pod replace
rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod set up
I additionally ran flutter physician and all appears good. I’ve even tried creating one other undertaking to check it and it labored with none challenge.
However for this undertaking, sadly, nothing labored for me. So does anybody know what is likely to be the difficulty and learn how to resolve it?