Flutter add2app paths ahould be correct (ie bugfree), clear/easy to understand and match Android
- Dominant language
- Dart
- Stars
- 3.1k
- Forks
- 3.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 95
Description
### Page URL
https://docs.flutter.dev/add-to-app/ios/project-setup/
### Page source
https://github.com/flutter/website/tree/main/src/content/add-to-app/ios/project-setup.md
### Describe the problem
I believe that `cd /path/to/my_flutter` for ios module is both incorrect, and slightly confusing compared to the android instructions at https://docs.flutter.dev/add-to-app/android/project-setup#create-a-flutter-module
I believe that the ios instrucitons would create /path/to/my_flutter/my_flutter which is probably not what we want and probably will not "just work" with the rest of the instructions (ie won't be a sibling project)
### Expected fix
ios should match Android for creating a flutter module, ie
`
cd some/path/
flutter create -t module --org com.example flutter_module
`
In fact it should be somehow "highlighted" that the same flutter module will work, ie optimize for the 80% happy path where ios host and android host use the same flutter module.
### Additional context
_No response_
### I would like to fix this problem.
- [ ] I will try and fix this problem on docs.flutter.dev.
Contributor guide
Assessment
This issue has not been assessed yet.