Confused in build.settings

I’m confused about this error…

build.settings:28: ‘}’ expected (to close ‘{’ at line 9) near ‘skipPNGCrush’

I have tried it with and without the comma after “skipPNGCrush = false” 

settings =  {

    orientation =

    {

        default = “portrait”,

    },

    

    iphone =

    {                                                    ------THIS IS LINE 9

        plist =

        {

            UIApplicationExitsOnSuspend = true,

            UIPrerenderedIcon = true,

            UIStatusBarHidden = true,

            CFBundleIconFiles = {

            “Icon.png”,

            “Icon@2x.png”,

            “Icon-60.png”,

            “Icon-60@2x.png”,

            },

            

            UIInterfaceOrientation = “UIInterfaceOrientationPortrait”,

        }

        skipPNGCrush = false           -------THIS IS LINE 28

    },                                                 ------- THIS CLOSES THE } IN LINE 9

    

    android =

    {

        versionCode = “10”,

        usesPermissions =

        {

            “android.permission.CALL_PHONE”

        },

    }

}

You are missing the comma after the “}” before the “skipPNGCrush”

Wow - so simple - thanks for that!

I was following the example in the official docs which doesn’t have that comma and should really be updated:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#iOSsettings

Not sure that this skipPNGCrush line is even needed, but was trying to follow the build settings according to the docs.

Hi @ranflas, @Renato,

I will correct this (the missing comma) in the guide soon. Thanks for bringing it to my attention.

Brent

You are missing the comma after the “}” before the “skipPNGCrush”

Wow - so simple - thanks for that!

I was following the example in the official docs which doesn’t have that comma and should really be updated:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#iOSsettings

Not sure that this skipPNGCrush line is even needed, but was trying to follow the build settings according to the docs.

Hi @ranflas, @Renato,

I will correct this (the missing comma) in the guide soon. Thanks for bringing it to my attention.

Brent