Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 8    Views: 98

MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
03/13/12 03:17 PM (13 years ago)

The data in this app appears to be corrupt

So I got this message with one of my apps, and re-downloaded the source, and resubmitted it to apple. Prior to resubmitting it, it was working. Apple then rejected it for the same reason (The data in this app appears to be corrupt). I then went back and recreated the app, in hopes that this would fix the problem. It didn't. Just tested on my simulator, and I am once again getting the same problem. Here is the error according to xcode: "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: appData" UserInfo=0x7bbb5f0 {NSUnderlyingError=0x7bbb520 "Object value expected for key: screens", NSLocalizedDescription=Object value expected for key: appData}" Would love some help! Thanks in advance!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 03:24 PM (13 years ago)
Hi MM2000, Is this v1.4 or v1.5? Or BT Server? Did you specify a different URL for the Data Configuration URL or Report to Cloud URL? If so, are you sure the info you put there is correct? If you are using the default ones, perhaps go into the Core Properties for your app, click Report to Cloud URL and Configuration Data URL and then click Use the default buzztouch URL for each. That would ensure the URL is correct. It's hard to tell from your problem description, but it appears that things are initially fine, until it tries to refresh the app. Mark
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
03/13/12 03:49 PM (13 years ago)
This is 1.4 on the BT servers. Where would I find these Report to Cloud Url and Configuration Data URL?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 04:06 PM (13 years ago)
v1.4 doesn't expose those parameters, unless you look in your config.txt file. With subsequent versions, you can actually change the location of those files. Would you be willing to send me your source package so I can load it in Xcode for myself? It would help me in debugging. Mrkfleming at google dot com Mark
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
03/13/12 04:17 PM (13 years ago)
sure i'll send it on over. Thanks for helping me out!
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
03/13/12 04:20 PM (13 years ago)
Sent!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 04:23 PM (13 years ago)
Got it...thanks!
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
03/13/12 07:03 PM (13 years ago)
MM2000, You are in good hands with GoNorthWest! He knows his stuff.
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
03/14/12 09:03 AM (13 years ago)
Yes i know @magic, he's been helping me all the way through with my apps! Everyone at BT is great!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.