【发布时间】:2016-09-03 19:12:46
【问题描述】:
例如 RCTImageLoader 未定义:
它是 RN 中图像库的一部分:
我的Podfile 中有这个:
在我的 Podfile 中有这一行:pod 'React', :subspecs => ['Core', 'RCTImage', 'RCTNetwork', 'RCTLinkingIOS', 'RCTText', 'RCTWebSocket'], :path => '../node_modules/react-native'
我试过了:
- 项目 -> 清理
- 再次运行
pod install - 正在删除
Podfile.lock&&pod install - 新鲜的 git 克隆,
npm install && cd ios && pod install
【问题讨论】:
标签: ios xcode react-native cocoapods