我只是pod为这个新项目安装了这个Podfile:
source 'https://github.com/CocoaPods/Specs.git' platform :ios,'7.0' def import_pods pod 'Mantle' pod 'LBBlurredImage' pod 'TSMessages' pod 'ReactiveCocoa' end target 'WeatherJoy2' do import_pods link_with 'WeatherJoy2' end
pod安装成功但现在在构建项目时遇到以下错误:
/Users/ankit/Documents/WeatherJoy2/Pods/ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.m:49:3: Unknown type name 'rac_propertyAttributes'; did you mean 'mtl_propertyAttributes'? /Users/ankit/Documents/WeatherJoy2/Pods/ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.m:49:40: Implicit declaration of function 'rac_copyPropertyAttributes' is invalid in C99 /Users/ankit/Documents/WeatherJoy2/Pods/ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.m:49:27: Incompatible integer to pointer conversion initializing 'mtl_propertyAttributes *' with an expression of type 'int'
项目中没有别的东西,这是一个新项目.我在xcode 6.2和OSX 10.9.5上