ente/mobile/docs/dev.md

35 lines
597 B
Markdown
Raw Permalink Normal View History

## Developer docs
### iOS
```sh
sudo gem install cocoapods
cd ios && pod install && cd ..
```
#### iOS Simulator missing in flutter devices
```sh
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
```sh
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 ..
```