2017-02-09 52 views
1

我使用react-native(0.40)創建了iOS應用程序。但是我總是出現錯誤,比如重新定義'RCTLogLevel'。在這裏我附上了一個截圖。請通過this.How解決這個問題?重新定義'RCTLogLevel'錯誤顯示在xcode 8.2中

enter image description here

+1

你可以檢查作出反應,本機矢量圖標你現在使用的是什麼版本?需要v4.0.0才能使用React Native> = 0.40運行。 –

+0

如何檢查'react-native-vector-icons'版本? – IKKA

+0

嘗試運行'npm list --depth = 0'並查找react-native-vector-icons。 –

回答

0

升級反應,本機矢量圖標版本。

陣營原住民4.0 Breaking Changes iOS native headers moved

+0

如何更新'react-native-vector-icons'爲4.0? – IKKA

+1

'$ npm install react-native-vector-icons --save''$ react-native link' [this](https://github.com/oblador/react-native-vector-icons) – liupeixin

+0

我使用了以下命令來更新'react-native-vector-icons',npm install --save [email protected] – IKKA