Add developement.md for common setup issues

This commit is contained in:
Neeraj Gupta 2023-07-13 10:23:17 +05:30
parent df1f1a75ae
commit 315256fbea

27
developement.md Normal file
View file

@ -0,0 +1,27 @@
### iOS
```bash
sudo gem install cocoapods
cd ios && pod install && cd ..
```
#### iOS Simulator missing in flutter devices
```bash
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
```
#### Error (Xcode): Framework not found TensorFlowLiteC
- Copy tflite package from pub.dev to pub.dartlang.org
```bash
cp -r ~/.pub-cache/hosted/pub.dev/tflite_flutter-0.9.1 ~/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-0.9.1
```
- Run setup.sh
```bash
- ./setup.sh
```
- Install the pod again
```bash
cd ios && pod install && cd ..
```