-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't launch in ios #1181
Comments
NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
same error |
Thanks for your quick response, I will take a further look. I believe this may be an environment issue, not sure yet. It is happening whenever I build the app (just the dependency added is enough) in iOS. |
Are you working now? my project not working But Android is work well error log
I removed then working fine
|
After some attempts I have removed developers' cache storage and restarted VS Code, and the project now loads ok (had also to reinstall Cocoa pods). Have not come accross the specific issue you show but will test it more, thank you for the hint. Will close the issue as it seems it was an environment issue (maybe those automatic O.S. updates). I had problems with other plugins, but it happened just tested this one first. |
Solved. This was an environment issue. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
-| Technology | Version |
| -------------------- | ------------- |
| Flutter version | 2.10.4 |
| Plugin version | 5.3.2 |
| iOS version | 15.4 |
| Xcode version | 13.3 |
Device information: Emulator: iPhone 11
Description
Expected behavior:
The app loads in the emulator with the inappbrowser working
Current behavior:
The app fails to run in the emulator:
[ +40 ms] Error running pod install
[ +3 ms] Error launching application on iPhone 11.
Steps to reproduce
fluter create --ios-language swift testflutter
cd testflutter
-- ADD dependency to pubspec.yaml: flutter_inappwebview: ^5.3.2
flutter pub get
flutter run
NOTES:
Have no issues in Android or in iOS with other Flutter apps that don't include the pluggin dependency.
Stacktrace/Logcat
[ +40 ms] Error running pod install
[ +3 ms] Error launching application on iPhone 11.
[ +6 ms] "flutter run" took 19.412ms.
[ +17 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:687:9)
#2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
#3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
#4 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
#5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
#6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
#8 run.. (package:flutter_tools/runner.dart:62:9)
#9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
#10 main (package:flutter_tools/executable.dart:94:3)
The text was updated successfully, but these errors were encountered: