前言
剛剛升級(jí)到Xcode10就日常報(bào)錯(cuò)...內(nèi)容為:
error: Build input file cannot be found '/Users/xxx/Desktop/xxx/node_modules/react-native/Libraries/WebSocket/libfishhook.a
解決方案
-
找到RCTWebSocket.xcodeproj
-
找到Build Phases的Link Binary With Libraries, 點(diǎn)擊減號(hào)去掉libfishhook.a引用
-
再加回去: 點(diǎn)加號(hào)把libfishhook.a引用
解決~