在Xcode 5.0.2中,我有a very simple single view app带有图像视图 - 它使用JMImageCache加载和显示1个图像。JMImageCache使用CocoaPods成功安装,但没有找到选择器
通过将4个文件(JMImageCache.[mh]
和UIImageView+JMImageCache.[mh]
)复制到我的Xcode项目中,此工作正常并已实现(使用the firendly help我收到了此处的Stackoverflow)。
现在我(一个iOS编程新手)已经发现了CocoaPods,并且想使用它。
所以我再次删除这些4个文件,而是创建了以下Podfile:
platform :ios, '5.0'
pod 'JMImageCache'
然后我遇到:
# pod install
Analyzing dependencies
Downloading dependencies
Installing JMImageCache (0.4.0)
Generating Pods project
Integrating client project
[!] From now on use `jmImage.xcworkspace`.
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
,并在Xcode打开jmImage.xcworkspace。
不幸的是,现在我得到一个选择没有发现错误(这里the full-sized screenshot):
有谁请知道,如何解决这一问题?
+1谢谢你的建议,我会牢记 –