ios - React Native Changed Directory Name Packager 不再运行
<p><p>我将目录的名称从 code 更改为 Code,当我运行 <code>react-native run-ios</code> 时,模拟器启动但打包程序不再启动。我必须更改什么来解决此问题而不必更改我的目录名称?</p>
<p>这是我得到的错误:</p>
<blockquote>
<p>error: PCH was compiled with module cache path '/Users/kelvin/Documents/Code/Tutorial/React-Native/manager/ios/build/ModuleCache/YT5URB46FE58', but the path is currently '/Users/kelvin/Documents/code/Tutorial/React-Native/manager/ios/build/ModuleCache/YT5URB46FE58'</p>
</blockquote></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>尝试删除之前的构建文件夹并重新创建。</p>
<pre><code>rm -rf ios/build// for removing
react-native run-ios// create build and run
</code></pre></p>
<p style="font-size: 20px;">关于ios - React Native Changed Directory Name Packager 不再运行,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/46766265/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/46766265/
</a>
</p>
页:
[1]