AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
09/29/14 06:05 PM (9 years ago)

Error When Compiling App

I keep on getting this error when trying to compile my iPhone app " There was a problem downloading some required data. Try again?". Does anyone know how to fix this problem? I have run the json data through multiple validators and they return no errors. I will post the json data in the next post. If anyone would like to take a look at this it would be greatly appreciated. Thanks
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
09/29/14 06:07 PM (9 years ago)
The Json data can be found at this link. Link has been removed.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/29/14 07:26 PM (9 years ago)
All it takes is one odd character and your json can sometimes be invalid, regardless of what the validity checkers say. I haven't done any 'in-depth' inspection of your config, but the one thing that jumps out at me is your 'Chocolate Éclairs'... if the client end doesn't like the É it might balk in the app... change that out for a 'normal' upper case 'E' and see if it makes a difference. If not, we'll take another quick look. Cheers! -- Smug PS, it's never been an issue 'yet', but you don't want to publish your API key, which is embedded in the app JSON. next time edit that out before you show it to the public. :)
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
09/29/14 09:41 PM (9 years ago)
>next time edit that out before you show it to the public Actually, edit it -- erase the line starting with "dataURL":"https://www.buzztouch.com/api/app/?command as soon as you read this!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/29/14 10:21 PM (9 years ago)
I agree with Smug that it's probably the É. I'm assuming this isn't a compiling issue, but rather a runtime issue? Does this problem happen with every screen that you try to load in the app, or just one...a couple? Mark
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
09/30/14 06:41 AM (9 years ago)
It's definitely not the É! Check the 6th line of your code, there's a " that shouldn't be there! Always check JSON with http://jsonlint.com - Bookmark it!!! Cheers Jack
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
09/30/14 06:45 AM (9 years ago)
P.-S. Follow the advice of SmugWimp and Dusko, ERASE your confidential data! Everybody can copy your app if you don't... (Check the 'edit' link on the right of your post)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/30/14 08:27 AM (9 years ago)
I'm guessing that extra " is a type related to pasting the JSON because he initially said he ran it through several validators and they returned no errors. My bet is on the funky character, which I've seen be problematic before, Mark
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
09/30/14 09:20 AM (9 years ago)
You may be right, Mark, but I'm using 'funky' characters in every app without any problem... Er... I never use such characters in itemNicknames, just in case... So maybe you're quite right!!! In French, we have many 'funky' characters, aka letters with diacritics :-) Anyway, in French, the typing rule for an uppercase 'funky' character as first letter of a lowercase word is to drop the funky part (except for Ç)... AppGuy30 should spell it 'Chocolate Eclairs'... Cheers Jack
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/30/14 12:06 PM (9 years ago)
Yep, it's been special characters in itemNicknames that seem to cause problems. It's usually not an issue with things like a screen title, but I have seen that as well. Mark
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
09/30/14 07:16 PM (9 years ago)
Thanks you guys it worked!
 

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.