我正在使用 restkit 并试图从我的模拟器中访问 https 站点。iPad 模拟器在发送请求时使用系统代理,我猜代理阻止了这些请求。当我在 iPad 设备上运行时,相同的代码可以正常工作。任何人请帮助我。我得到的错误是
I restkit.network:RKObjectRequestOperation.m:174 POST 'https://myurl.net/api/auth/entry'
2013-07-19 18:06:43.515 Dashboard[19149:4703] E restkit.network:RKObjectRequestOperation.m:570 Object request failed: Underlying HTTP request operation failed with error: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x85806d0