ITMS-90038: Malformed InfoPlist.strings file: '${filePath}' when publishing app using expo

Please provide the following:

  1. SDK Version: 38.0.0
  2. Platforms(Android/iOS/web/all): iOS

I need to add localization for my app, but whenever i upload my IPA using transporter, i get the following error “ITMS-90038: Malformed InfoPlist.strings file: ‘${filePath}’”. Here’s my app.json:

{
  "expo": {
    "name": "MYAPP",
    "slug": "MYAPP",
    "platforms": [
      "ios",
      "android",
      "web"
    ],
    "version": "1.0.3",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "bundleIdentifier": "com.my.MYAPP",
      "buildNumber": "1.0.3",
      "supportsTablet":true,
      "infoPlist": {
        "CFBundleAllowMixedLocalizations": true
      }
    },
    "locales": {
      "en": "./constants/en.json",
      "pt": "./constants/pt.json"
    },
    "android": {
      "package": "com.my.MYAPP",
      "versionCode": 3,
      "intentFilters": [
        {
          "action": "VIEW",
          "data": [
            {
              "scheme": "https",
              "host": "*.myapp.com",
              "pathPrefix": "/OAuth"
            }
          ],
          "category": [
            "BROWSABLE",
            "DEFAULT"
          ]
        }
      ]
    },
    "description": ""

  }
}

and here are my pt.json and en.json files:

{   //pt.json
    "CFBundleDisplayName": "MYAPP",
    "NSCameraUsageDescription": "\"MYAPP\" gostaria de aceder à sua câmera, para poder adicionar uma imagem ao seu perfil ou a uma ocorrência",
    "NSPhotoLibraryAddUsageDescription": "\"MYAPP\" gostaria de poder guardar imagens" ,
    "NSPhotoLibraryUsageDescription": "\"MYAPP\" gostaria de aceder às suas imagens, para poder adicionar uma imagem ao seu perfil ou a uma ocorrência"
}
{   //en.json
    "CFBundleDisplayName": "MYAPP",
    "NSCameraUsageDescription": "\"MYAPP\" would like to access your camera, in order to add an image to your profile or to an occurrence",
    "NSPhotoLibraryAddUsageDescription": "\"MYAPP\" would like to save images" ,
    "NSPhotoLibraryUsageDescription": "\"MYAPP\" would like to access your photos, in order to add an image to your profile or to an occurrence"
}

Is there any other type of setting up that i need to do? Or do i have any type of error in my code?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.