0

Greetz,

I am ready to submit an application to the appStore but the problem is the application gets stuck when I build it on release mode (Do I have to build it on release mode in order to submit to appStore?) but it gets stuck while loading the first data that are retrieved from a server. Which means the MBProgressHUD I'm using is just there displayed indefinitely even if some data was already retrieved (I retrieve a JSON string with data and an Image).

The application works and builds perfectly in debug mode, for some reason on release mode it doesn't. I tried to do a rm -rf build on the project and cleaning it aswell to no avail. I tried deleting the application from the simulator and device with no results. Am I doing something wrong, or is it code related? Maybe provisioning?

Thank you!

These are the log messages I get while running on release mode. The application does not crash.

[11603:5d03] Starting asynchronous request <ASIHTTPRequest: 0x682e800>
[11603:7803] Request #1 will use connection #1
[11603:7803] Request <ASIHTTPRequest: 0x682e800> received response headers
[11603:7803] Got a keep-alive header, 
             will keep this connection open for 5.000000 seconds
[11603:7803] Request <ASIHTTPRequest: 0x682e800> finished downloading 
             data (227370 bytes)
[11603:7803] Request #1 finished using connection #1
[11603:7803] Request finished: <ASIHTTPRequest: 0x682e800>

And that's it, the application actually finishes the request and retrieves the data successfully but still the MBProgressHUD gets stuck.

4

2 回答 2

0

事实证明,这显然是 while 循环的错误。这段时间是故意空的。但是当我在其中放入一个 NSLog 时,发布模式就可以正常工作了。非常奇怪和不规则。我猜 release 使用了一些非常尴尬的配置,尽管它不应该。

于 2011-04-04T10:23:54.210 回答
0

Test the application again for Release mode, is it happening to be crashed?? or simply stucking at some point of execution. What does your log messages say?

于 2011-03-04T08:39:26.563 回答