HomeiOS Developmentios - Error (Xcode): Undefined image: _OBJC_CLASS_$_FLTGoogleMapsPlugin

ios – Error (Xcode): Undefined image: _OBJC_CLASS_$_FLTGoogleMapsPlugin


I’ve just lately switched from a mac operating on an Intel chip to Apple Silicon (M1). I am utilizing the newest model of Flutter and Xcode and I’ve adopted all of Flutter’s pointers for putting in Rosetta, and so on.

Nonetheless, when I attempt to run flutter run --verbose on an iOS simulator, I get this error:

[  +40 ms] Did not construct iOS app
[        ] Error (Xcode): Undefined image: _OBJC_CLASS_$_FLTGoogleMapsPlugin
           
[        ] Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
           
[        ] Couldn't construct the appliance for the simulator.
[        ] Error launching utility on iPhone 14.
[   +2 ms] "flutter run" took 283,457ms.
[   +2 ms] 
           #0      throwToolExit (bundle:flutter_tools/src/base/widespread.dart:10:3)
           #1      RunCommand.runCommand (bundle:flutter_tools/src/instructions/run.dart:722:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<nameless closure> (bundle:flutter_tools/src/runner/flutter_command.dart:1257:27)
           <asynchronous suspension>
           #3      AppContext.run.<nameless closure> (bundle:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (bundle:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<nameless closure>
(bundle:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
           <asynchronous suspension>
           #6      AppContext.run.<nameless closure> (bundle:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (bundle:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<nameless closure>.<nameless closure> (bundle:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #9      AppContext.run.<nameless closure> (bundle:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     fundamental (bundle:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

pls assist

I’ve tried operating flutter clear, flutter pub improve, cd ios && pod set up as per different related documented points. No luck…

I used to be capable of get my app operating by XCode “constructing by Rosetta” however I’m uncertain the right way to obtain this in VSCode. Any ideas?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments