菜鸟教程小白 发表于 2022-12-11 18:53:18

ios - xcode 8.2 中显示 'RCTLogLevel' 错误的重新定义


                                            <p><p>我使用 react-native(0.40) 创建了 iOS 应用程序。但我总是遇到类似 Redefinition of 'RCTLogLevel' 的错误。这里我附上了一张截图。请看一下。如何解决这个问题?</p>

<p> <a href="/image/Eur32.png" rel="noreferrer noopener nofollow"><img src="/image/Eur32.png" alt="enter image description here"/></a> </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>升级 react-native-vector-icons 版本。</p>

<p>React Native 4.0 <a href="https://github.com/facebook/react-native/releases/tag/v0.40.0" rel="noreferrer noopener nofollow">Breaking Changes iOS native headers moved</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - xcode 8.2 中显示&#39;RCTLogLevel&#39; 错误的重新定义,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/42128779/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/42128779/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - xcode 8.2 中显示 &#39;RCTLogLevel&#39; 错误的重新定义