Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 4    Views: 103

techd
I hate code!
Profile
Posts: 44
Reg: Sep 17, 2012
Cleveland
440
10/03/12 12:31 PM (13 years ago)

The configuration data for this application is invalid.

Everything worked fine and I was adding locations to a map and received an error about a bad address. I tried removing all of the addresses I had entered today until the json code validated. I restarted xcode, phone and redownloaded source code. Now I get a configuration data error in the simulator and on phone. I found some forums about this so I ran the BT_config.txt though the validator and it is OK. This is what it says in Output: 2012-10-03 15:26:28.739 transmissions[83287:17303] Application windows are expected to have a root view controller at the end of application launch 2012-10-03 15:26:28.746 transmissions[83287:17303] BT_networkState: Monitoring Connection: WiFi Available Any help on what to do next is greatly appreciated! Thanks
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/03/12 01:10 PM (13 years ago)
That's usually a problem with the map points you entered. Usually a comma or quote in the title of one of your map points. Did the BT_config.txt file that you validated contain all your map childItems?
 
techdesigner
Apple Fan
Profile
Posts: 77
Reg: Jun 22, 2012
Cleveland
10,870
like
10/03/12 02:17 PM (13 years ago)
The BT_config.txt does have all the map points. I deleted all the ones I entered today so that it looked like it did last time it worked. It says valid JSON. I don't get any errors when I compile just a "The configuration data for this application is invalid." popup no matter what device.
 
techd
I hate code!
Profile
Posts: 44
Reg: Sep 17, 2012
Cleveland
440
like
10/03/12 02:33 PM (13 years ago)
We did try to take everything back to the last time it worked. We removed everything we added since then and the code validated but still get the error.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/03/12 03:19 PM (13 years ago)
The compiler won't give you any errors, because the BT_config.txt isn't parsed until the device (or simulator) runs the app. I'm still guessing there's something in one of your map points. If you want to email me the JSON (or paste it in a PM), I'll take a look at it and see if I can pinpoint it.
 

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.