# React-native运行报错"RCTBundleURLProvider.h"file not found - AppDelegate.m

**URL:** <https://www.shiqidu.com/t/topic/211>\
**Category:** 开发调优\
**Tags:** React-Native\
**Created:** [2017 年8 月 17 日 01:35 UTC](https://www.shiqidu.com/t/topic/211 "2017-08-17T01:35:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![Eureka](https://www.shiqidu.com/user_avatar/www.shiqidu.com/eureka/32/5_2.png) [@Eureka](https://www.shiqidu.com/u/Eureka)\
发布日期： [2017 年8 月 17 日 01:35 UTC](https://www.shiqidu.com/t/topic/211/1 "2017-08-17T01:35:18Z")

</div>

**解决方案**

1. 删除`node modules`文件夹，然后重新执行`npm install`命令。
2. 执行`react-native upgrade` 按照提示覆盖旧文件。
3. 清楚xcode缓存`shift+alt+command+k`

然后重新xcode运行下应该就没问题了。
