Badly formed VoltBuilder.json even when using tutorial example

I’ve directly copied the example voltbuilder.json and used it as well as made changes for my project and yet I still get the following error.

Badly formed VoltBuilder.json Expecting property name enclosed in double quotes:

Can you post your voltbuilder.json file so we can see it?

{
“iosDevP12”: “certificates/ios_signingkey.p12”,
“iosDevP12Password”: “ThisWouldbemypassword”,
“iosDevelopment”: “certificates/ios.mobileprovision”,
“iosDistP12”: “certificates/ios_signingkey.p12”,
“iosDistP12Password”: “ThisWouldbemypassword”,
“iosDistribution”: “certificates/ios.mobileprovision”,
“iosPackageType”: “app-store”,
“platform”: “ios”,
“release”: “release”,
}

Try getting rid of that last comma. It’s not valid JSON. The JSON interpreter expects there to be one more line.

(and yes, our docs had it wrong too. This is what betas are for - thank you for finding this!)

{
“iosDevP12”: “certificates/ios_signingkey.p12”,
“iosDevP12Password”: “ThisWouldbemypassword”,
“iosDevelopment”: “certificates/ios.mobileprovision”,
“iosDistP12”: “certificates/ios_signingkey.p12”,
“iosDistP12Password”: “ThisWouldbemypassword”,
“iosDistribution”: “certificates/ios.mobileprovision”,
“iosPackageType”: “app-store”,
“platform”: “ios”,
“release”: “release”
}

It looks like that was the problem. I could’ve sworn I tried removing the comma before but thanks for the help!

Here’s a handy tool for checking json files to see if they are correctly formatted:

Much appreciated, I’ve been able to successfully upload to the app store using your service. Unfortunately, I’m now getting an error telling me a subscription is required. Do you offer subscriptions yet?

Can you post the exact message you’re getting?

Subscriptions are not required yet.

image

Are you logged into Volt.build?

Wait - I see the problem. We’re making changes to the billing hooks (which should not be operational yet), but a default variable changed. We’ll get it fixed in a few minutes.

OK, you should be all set to go.

Sorry for the inconvenience. Thanks for letting us know!