Malformed InfoPlist.strings file - The file is not in the proper format.

Hello,

  I am trying to update a new version for an application and after sending the file correctly, I receive an email from Apple with the following message:

"Dear developer,

We have discovered one or more issues with your recent delivery. To process your delivery, the following issues must be corrected:

 

Malformed InfoPlist.strings file - The file is not in the proper format.

 

Once these issues have been corrected, you can then redeliver the corrected binary."

 

 

I have tried everything and there is no way.

Some help?

thanks.

We basically copy your build.settings: settings.iphone.plist table to the Info.plist for your app. If you’re getting something about a malformed plist, I’d start in your build.settings and make sure there are no mistakes there.

Rob

Thanks for your reply Rob. It’s a basic build.setting, nothing strange. I’ve checked it.

[lua]

settings =
{
        orientation =
        {
                default = “portrait”,
                supported =
                {
                         “portrait”, “portraitUpsideDown”,
                },
        },
 
        iphone =
        {
                plist =
                {
                        
                        CFBundleLocalizations = {
                                        “es”,
                                        “en”,
                                        “zh”,
                                        “fr”,
                                        “ja”,
                                        “de”,
                                        “ru”,
                                        “pt”,
                                                                  },
                                                                  
                          CFBundleIconFiles = {
                                    “Icon.png”,
                                    “Icon@2x.png”,
                                    “Icon-60.png”,
                                    “Icon-60@2x.png”,
                                    “Icon-60@3x.png”,
                                    “Icon-72.png”,
                                    “Icon-72@2x.png”,
                                    “Icon-76.png”,
                                    “Icon-76@2x.png”,
                                    “Icon-167.png”,
                                    “Icon-Small-40.png”,
                                    “Icon-Small-40@2x.png”,
                                    “Icon-Small-50.png”,
                                    “Icon-Small-50@2x.png”,
                                    “Icon-Small.png”,
                                    “Icon-Small@2x.png”,
                                    “Icon-Small@3x.png”
                                                                    },
                                                                   
                   – Required launch image files/definitions table
                    UILaunchImages = {
               
                {  – iPhone 4 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 4 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 4 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 5 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPhone 5 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPhone 5 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPad Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Portrait”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPad LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Landscape”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPad LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Landscape”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPhone 6 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 Plus Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-736h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPhone 6 Plus LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-Landscape-736h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPhone 6 Plus LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-Landscape-736h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPad Pro Portrait
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Portrait-1366”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                {  – iPad Pro Landscape Right
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Landscape-1366”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                {  – iPad Pro Landscape Left
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Landscape-1366”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },    
                                                                        },
                                                                    
                },
        },
 
       
}

[/lua]

The problem even occurs with this configuration:

[lua]

settings =

{

    orientation =

    {

        default = “portrait”,

        supported = { “portrait”, “portraitUpsideDown” }

    },

    iphone =

    {

        plist =

        {

            UIPrerenderedIcon = true,

        },

    },

}

[/lua]

We basically copy your build.settings: settings.iphone.plist table to the Info.plist for your app. If you’re getting something about a malformed plist, I’d start in your build.settings and make sure there are no mistakes there.

Rob

Thanks for your reply Rob. It’s a basic build.setting, nothing strange. I’ve checked it.

[lua]

settings =
{
        orientation =
        {
                default = “portrait”,
                supported =
                {
                         “portrait”, “portraitUpsideDown”,
                },
        },
 
        iphone =
        {
                plist =
                {
                        
                        CFBundleLocalizations = {
                                        “es”,
                                        “en”,
                                        “zh”,
                                        “fr”,
                                        “ja”,
                                        “de”,
                                        “ru”,
                                        “pt”,
                                                                  },
                                                                  
                          CFBundleIconFiles = {
                                    “Icon.png”,
                                    “Icon@2x.png”,
                                    “Icon-60.png”,
                                    “Icon-60@2x.png”,
                                    “Icon-60@3x.png”,
                                    “Icon-72.png”,
                                    “Icon-72@2x.png”,
                                    “Icon-76.png”,
                                    “Icon-76@2x.png”,
                                    “Icon-167.png”,
                                    “Icon-Small-40.png”,
                                    “Icon-Small-40@2x.png”,
                                    “Icon-Small-50.png”,
                                    “Icon-Small-50@2x.png”,
                                    “Icon-Small.png”,
                                    “Icon-Small@2x.png”,
                                    “Icon-Small@3x.png”
                                                                    },
                                                                   
                   – Required launch image files/definitions table
                    UILaunchImages = {
               
                {  – iPhone 4 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 4 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 4 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 480}”
                },
                {  – iPhone 5 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPhone 5 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPhone 5 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-568h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{320, 568}”
                },
                {  – iPad Portrait
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Portrait”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPad LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Landscape”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPad LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “7.0”,
                    [“UILaunchImageName”] = “Default-Landscape”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{768, 1024}”
                },
                {  – iPhone 6 Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-667h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{375, 667}”
                },
                {  – iPhone 6 Plus Portrait
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-736h”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPhone 6 Plus LandscapeLeft
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-Landscape-736h”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPhone 6 Plus LandscapeRight
                    [“UILaunchImageMinimumOSVersion”] = “8.0”,
                    [“UILaunchImageName”] = “Default-Landscape-736h”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{414, 736}”
                },
                {  – iPad Pro Portrait
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Portrait-1366”,
                    [“UILaunchImageOrientation”] = “Portrait”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                {  – iPad Pro Landscape Right
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Landscape-1366”,
                    [“UILaunchImageOrientation”] = “LandscapeRight”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },
                {  – iPad Pro Landscape Left
                    [“UILaunchImageMinimumOSVersion”] = “9.0”,
                    [“UILaunchImageName”] = “Default-Landscape-1366”,
                    [“UILaunchImageOrientation”] = “LandscapeLeft”,
                    [“UILaunchImageSize”] = “{1024, 1366}”
                },    
                                                                        },
                                                                    
                },
        },
 
       
}

[/lua]

The problem even occurs with this configuration:

[lua]

settings =

{

    orientation =

    {

        default = “portrait”,

        supported = { “portrait”, “portraitUpsideDown” }

    },

    iphone =

    {

        plist =

        {

            UIPrerenderedIcon = true,

        },

    },

}

[/lua]

What was the solution for this issue?

Starting from yesterday i keep getting this error returned from itunes connect.

im building with 3068 and 3103

Malformed InfoPlist.strings file  - The file is not in the proper format

Cheers,

Tommy

Can you post your build.settings file please?

I resolved it, the problem was in one of the translation files InfoPlist.strings

After many tries changing the content ie deleting special character, i deleted the entire file, and copied from another translation.

Then it worked, and could contain the special characters needed.

Best guess is the file was saved with an unsupported encoding.

I also encounter this problem, I have used a build.settings from the sample, and still got this error.

Pls advice

Hi @info1829

What sample are you using?

What version of Corona SDK are you using?

Can you please post your build.settings file?

Do you have any other .plist files in your project folder?

The InfoPlist.strings file is used for localizing games into different languages. This error says there is a formatting problem in that file. If you have one, please post it as well.

Rob

What was the solution for this issue?

Starting from yesterday i keep getting this error returned from itunes connect.

im building with 3068 and 3103

Malformed InfoPlist.strings file  - The file is not in the proper format

Cheers,

Tommy

Can you post your build.settings file please?

I resolved it, the problem was in one of the translation files InfoPlist.strings

After many tries changing the content ie deleting special character, i deleted the entire file, and copied from another translation.

Then it worked, and could contain the special characters needed.

Best guess is the file was saved with an unsupported encoding.

I also encounter this problem, I have used a build.settings from the sample, and still got this error.

Pls advice

Hi @info1829

What sample are you using?

What version of Corona SDK are you using?

Can you please post your build.settings file?

Do you have any other .plist files in your project folder?

The InfoPlist.strings file is used for localizing games into different languages. This error says there is a formatting problem in that file. If you have one, please post it as well.

Rob