fix: remove invalid config section from pubspec.yaml#3738
Conversation
The 'config' key under 'flutter' is not a valid Flutter configuration. This was causing 'Error detected in pubspec.yaml: Unexpected child config found under flutter.' Removed the invalid config section to fix the error.
There was a problem hiding this comment.
Code Review
This pull request addresses an error in pubspec.yaml by removing an invalid config section under the flutter key. This change is correct as the config key is not a valid Flutter configuration, and its presence was causing the error: Unexpected child "config" found under "flutter". The removal fixes the issue without any apparent side effects. The change is approved.
Move troubleshooting section from app/README.md to the official documentation at docs/doc/developer/AppSetup.mdx in the Troubleshooting section. This documents the 'Unable to flip between RX and RW memory protection on pages' error that occurs when running Flutter apps in Debug mode on physical iOS devices. The troubleshooting section explains: - The cause of the error (iOS security restrictions preventing JIT compilation) - Solution 1: Use iOS Simulator for development (recommended) - Solution 2: Use Release/Profile mode for physical device testing This helps developers quickly resolve this common issue without needing to search for solutions.
be0d5db to
2f5d2ab
Compare
|
hi bro, thank you btw can you check $ if you are in < 3.24 flutter ver, let's run $ then |
|
Flutter (Channel stable, 3.32.0, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [457ms] |
|
lgtm @kodjima33 |
) * fix: remove invalid config section from pubspec.yaml The 'config' key under 'flutter' is not a valid Flutter configuration. This was causing 'Error detected in pubspec.yaml: Unexpected child config found under flutter.' Removed the invalid config section to fix the error. * docs: Add iOS memory protection error troubleshooting to App Setup Move troubleshooting section from app/README.md to the official documentation at docs/doc/developer/AppSetup.mdx in the Troubleshooting section. This documents the 'Unable to flip between RX and RW memory protection on pages' error that occurs when running Flutter apps in Debug mode on physical iOS devices. The troubleshooting section explains: - The cause of the error (iOS security restrictions preventing JIT compilation) - Solution 1: Use iOS Simulator for development (recommended) - Solution 2: Use Release/Profile mode for physical device testing This helps developers quickly resolve this common issue without needing to search for solutions.
every time i try to run the ios repo i get this error
"Error detected in pubspec.yaml:
Unexpected child "config" found under "flutter".
Please correct the pubspec.yaml file at /Users/nik/projects/omi/app/pubspec.yaml"
AI told me to just remove it, pushing if it's not critical
The 'config' key under 'flutter' is not a valid Flutter configuration. This was causing 'Error detected in pubspec.yaml: Unexpected child config found under flutter.' Removed the invalid config section to fix the error.