My app gets into downloadDidFinish only if I run it in
Debug mode.
Even then it seems to be waiting for something. It
waits for about a second or two to print the logs in
downloadDidFinish when in Debug.
But if I run the app in release, it just crashes when
downloadDidFinish is called.
Yes I even have downlod:didFailWithError but its not
even reaching this.
What may be going wrong?
As someone else already suggested, try not releasing (or
autoreleasing) the object until it's finished.