gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS
MIT License
3.33k stars 1.06k forks source link

Property 'userAgent' not found on object of type 'BeeHTTPRequest *' #81

Closed scorpiozj closed 10 years ago

scorpiozj commented 10 years ago

pod安装完后直接编译报错: /Users/xxxxx/Pods/BeeFramework/framework/system/network/http/client/Bee_HTTPRequest.m:233:8: Property 'userAgent' not found on object of type 'BeeHTTPRequest *' 注释掉那一行可以通过编译,不知道是否有其他影响

环境: xcode5.1 SDK7.1 OS X 10.8.5

pod file: platform :ios, '6.0' pod 'BeeFramework', :head

syxiaqj commented 10 years ago

赋值号左面应该不是这个字段“ userAgent”,但是那个对象有个“ userAgentString”字段,我觉得是把“ userAgent”改成“ userAgentString”这段的,这个错误主要是由于数据类型不对应引起的,我觉得,可能是作者疏忽了,但是删掉,我觉得可能有问题吧

Vanson commented 10 years ago

直接注释掉就可以了