iOS 8测试版中cocoa pod代码的编译错误
我正在为iOS 8开发Xcode6 Beta 6 我在导入的LastFM可可豆荚上遇到代码错误: 当我试图编译时,但我似乎无法找出导致错误的原因。(使用示例中的所有代码) 我的AppDelegate.m文件中不断出现以下错误:iOS 8测试版中cocoa pod代码的编译错误,ios,cocoapods,xcode6,last.fm,xcode6-beta6,Ios,Cocoapods,Xcode6,Last.fm,Xcode6 Beta6,我正在为iOS 8开发Xcode6 Beta 6 我在导入的LastFM可可豆荚上遇到代码错误: 当我试图编译时,但我似乎无法找出导致错误的原因。(使用示例中的所有代码) 我的AppDelegate.m文件中不断出现以下错误: Property 'cacheDelegate' not found on object of type 'LastFm *' @interface LastFm : NSObject @property (unsafe_unretained, nonatom
Property 'cacheDelegate' not found on object of type 'LastFm *'
@interface LastFm : NSObject
@property (unsafe_unretained, nonatomic) id <LastFmCache> cacheDelegate;
但是,我已确保在我的LastFm.h文件中包含以下代码:
Property 'cacheDelegate' not found on object of type 'LastFm *'
@interface LastFm : NSObject
@property (unsafe_unretained, nonatomic) id <LastFmCache> cacheDelegate;
@interface LastFm:NSObject
@属性(不安全、不可恢复、非原子)id cacheDelegate;
有没有想过为什么它会声称我没有在LastFM中设置属性?不确定这是iOS 8的问题,还是我的错误
感谢您的建议。LastFMCache协议的定义在哪里?如果它在其他头文件中,你导入了吗?嘿,朱利安,我有一个LastFMCache.m和LastFMCache.h来定义它。好的,但是你是否将.h导入到正确的文件中?你能给我看一下源代码吗?