I have created an application and generated IPA file for development deployment. I am using AFNetworking
to make network calls.
The problem is that when I attach the iPhone 5s
and run in debug mode everything works fine but when I generate IPA and install it via iTunes
it generates AFNetworking
error code 200
unacceptable content-type text/html.
I don't understand how that could happen. I created development provisioning profile and made sure that it is used while creating archive.