Monday, October 23, 2023
HomeiOS Developmentios - Error (Xcode): Undefined image: _OBJC_CLASS_$_FLTGoogleMapsPlugin

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


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

Nevertheless, 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/frequent.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     important (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 comparable documented points. No luck…

I used to be in a position to get my app operating by XCode “constructing by Rosetta” however I’m uncertain find out how to obtain this in VSCode. Any ideas?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments