How to solve this error returning from access to the web service?

0

I'm developing an app that consumes data from a web service and using AFNetworking to make requests.

During the testing phase the app worked and received the data normally. So I exported the database to the web service online and had the following problem:

  

- [_ NSInlineData count]: unrecognized selector sent to instance 0x161f0e00

     

* Terminating app due to uncaught exception   'NSInvalidArgumentException', reason: '- [_ NSInlineData count]:   unrecognized selector sent to instance 0x161f0e00 '   * First throw call stack: (0x22f10f87 0x3066fc77 0x22f1637d 0x22f14259 0x22e45d68 0x4329d 0x1c7b1 0x1b7ad3 0x1b7abf 0x1bb51b   0x22ed6e61 0x22ed5581 0x22e22db1 0x22e22bc3 0x2a1ad051 0x263edf01   0x3b0e5 0x30c0baaf) libc ++ abi.dylib: terminating with uncaught   exception of type NSException

    
asked by anonymous 08.11.2014 / 00:09

1 answer

0

Yes I found the error, it was because I was coding the receipt, and in fact it was not necessary! I just found this to be an instability of AFNetworking, which worked in a way with the local DB, and had another behavior with a cloned database, and hosted on the web.

    
10.11.2014 / 15:22