cocoapods更新高版本的AFNetworking cra
2016-11-25 本文已影响0人
弓长义123
-[AFHTTPSessionManager GET:parameters:progress:success:failure:]: unrecognized selector sent to instance 0x7f8fd04431e0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFHTTPSessionManager GET:parameters:progress:success:failure:]: unrecognized selector sent to instance 0x7f8fd04431e0'
这是因为xcode 不能commend+shift+k不掉 af以前版本的缓存.
终极解决办法:
Xcode -> Preferences -> Location -> Locations -> Derived Data
删除Derived Data这个文件夹