10
我有一個使用資產目錄的項目,最近沒有任何更改,圖像只是不顯示。它顯示這個錯誤:資產目錄未在項目中使用
2014-06-23 21:41:02.824 Project[8247:464100] CUICatalog: Can't find rendition for name: menu scale factor: 2 device idiom: 1 device subtype: 568
2014-06-23 21:41:02.825 Project[8247:464100] Could not load the "image" image referenced from a nib in the bundle with identifier "com.sieradzki.Project"
我知道這已經在這裏找到答案: Asset Catalog Error: CUICatalog: Can't find rendition for name但解決,這是用的CocoaPods,但我不都在我的項目中使用的CocoaPods,我甚至不讓它安裝在我的Mac上。
請參閱[我的答案](http://stackoverflow.com/q/26249554/119114)...我也沒有使用Cocoapods。 – Nate
你是否在你的nib文件中檢查過,UIImageView的圖像沒有顯示爲'unknown'?該圖像會在Interface Builder內正確呈現。 – mbogh
是否有可能將目錄集中的資產設置爲使用特定於設備的資產,但沒有爲4英寸iPhone設置特定的資產(這是Retina + 568的意思)? –