Tuesday, May 30, 2023
HomeiOS Developmentc# - .NET MAUI iOS publishing error on Transporter: Asset validation failed...

c# – .NET MAUI iOS publishing error on Transporter: Asset validation failed – 4 appicon sizes “lacking”


Attempting to publish my .NET MAUI iOS app. Transporter says I’m lacking 4 appicon information although I see them in my xcassets folder and they’re referenced appropriately within the contents.json file. Please see verification log beneath from transporter.

location: AppName/obj/Launch/net7.0-ios/ios-arm64/actool/cloned-assets/Belongings.xcassets

My appicons

enter picture description right here

My Maui Icon in csproj

<MauiIcon Embody="ResourcesAppIconappicon.svg" ForegroundFile="ResourcesAppIconappiconfg.svg" BaseSize="128,128" Colour="#000000"/>Contents.json
{
  "photos": [
    {
      "idiom": "iphone",
      "size": "20x20",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ipad",
      "size": "20x20",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "20x20",
      "scale": "3x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "29x29",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ipad",
      "size": "29x29",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "29x29",
      "scale": "3x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "40x40",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ipad",
      "size": "40x40",
      "scale": "2x",
      "filename": "ap[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "40x40",
      "scale": "3x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "60x60",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "iphone",
      "size": "60x60",
      "scale": "3x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ipad",
      "size": "76x76",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ipad",
      "size": "83.5x83.5",
      "scale": "2x",
      "filename": "[email protected]"
    },
    {
      "idiom": "ios-marketing",
      "size": "1024x1024",
      "scale": "1x",
      "filename": "appiconItunesArtwork.png"
    }
  ],
  "properties": {},
  "data": {
    "model": 1,
    "creator": "xcode"
  }
}

What I’ve tried

  1. Constructing, cleansing and rebuilding in numerous orders
  2. Switching again to default MAUI icon
  3. Explicitly referencing the xcassets folder in csproj
  4. Setting basesize to one thing divisible by 8
  5. Setting background color on MAUI icon in csproj

Tried sending the default app via transporter and it labored nice, So I do not assume it is a matter with my Visible Studio/xcode model. I constructed the ipa utilizing the UI in visible studio versus the command line.

Visible studio 2022 for mac 17.5.5 (construct 12)
XCode 14.3
Transporter Model 1.2.5 (1286)

If I strive publishing instantly via Visible Studio for Mac it simply says it’s unable to confirm it.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments