1.安裝homebrew
2.安裝node && watchman
brew install node
brew install watchman
3.安裝xcode
4.安裝cocopods(ios)
brew install cocoapods
5.安裝開發(fā)工具flipper,另外真機調(diào)試需要安裝
ios
brew install python3
brew tap facebook/fb
brew install idb-companion
升級
python -m pip install --upgrade pip
查看安裝版本
python3 --version
以上面安裝版本為準(zhǔn)
pip3.11 install fb-idb
idb位置
which idb
android
將上面獲取地址放到flipper settings ios developer IDB binary location, 這樣就可以flipper中選到正確設(shè)備了
6.安裝flipper相關(guān)插件
redux-debugger
7.安裝android studio
8.安裝adb
brew install --cask android-platform-tools
有時候emulator無法刪除 需要
adb emu kill
9.android flipper 真機調(diào)試
flipper settings android developer設(shè)置為sdk位置