【发布时间】:2023-03-20 22:38:01
【问题描述】:
2016-02-24 13:29:08.472 [fatal][tid:main] Cannot find entry file Examples/UIExplorer/UIExplorerApp.ios.js in any of the roots: ["~/ReactNativeApps/Starter"]
我从一个新文件夹 (react-native/Examples/UIExplorer) 运行,该文件夹是通过执行 git clone 创建的,如 native-react 的 github 存储库中示例文件夹 link to Examples folder in github 的 .md 文件中所述。错误消息中的“根”恰好是我之前成功运行的另一个文件夹,而不是我当前执行open UIExplorer.xcodeproj/ 以启动Xcode 的文件夹。代码在zipped folder in dropbox
我应该在哪里查看定义根的位置。这似乎是一个 Xcode 问题,但在 Xcode 的构建设置中没有对文件夹名称的引用。
【问题讨论】:
标签: ios xcode react-native