gpt4 book ai didi

Xamarin 形成 AppIcon.xcassets 导致上传错误。

转载 作者:行者123 更新时间:2023-12-02 04:27:25 29 4
gpt4 key购买 nike

将我的应用程序上传到 TestFlight 时出现以下错误。

Xcode Errors

但是,我没有看到 missing 的任何位置Xamarin Assets 菜单中的图标。 (76x76、167x167 和 152x152)

Xamarin Forms Asset.xcassets

我想我可以通过编辑 来解决它。内容.json 在 Sublime 中创建文件,但文件中似乎包含了 76x76 图标......所以我认为它不会起作用。我拥有最新的一切(Visual Studio、Xcode 等)。

{
"images": [
{
"size": "20x20",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "apple-touch-icon-60x60.png",
"size": "20x20",
"scale": "3x",
"idiom": "iphone"
},
{
"size": "29x29",
"scale": "2x",
"idiom": "iphone"
},
{
"size": "29x29",
"scale": "3x",
"idiom": "iphone"
},
{
"size": "40x40",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "apple-touch-icon-120x120.png",
"size": "40x40",
"scale": "3x",
"idiom": "iphone"
},
{
"filename": "Divco120.png",
"size": "60x60",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "apple-touch-icon-180x180.png",
"size": "60x60",
"scale": "3x",
"idiom": "iphone"
},
{
"filename": "Divco20.png",
"size": "20x20",
"scale": "1x",
"idiom": "ipad"
},
{
"filename": "Divco40.png",
"size": "20x20",
"scale": "2x",
"idiom": "ipad"
},
{
"size": "29x29",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "29x29",
"scale": "2x",
"idiom": "ipad"
},
{
"filename": "Divco40.png",
"size": "40x40",
"scale": "1x",
"idiom": "ipad"
},
{
"size": "40x40",
"scale": "2x",
"idiom": "ipad"
},
{
"filename": "Divco167.png",
"size": "83.5x83.5",
"scale": "2x",
"idiom": "ipad"
},
{
"filename": "apple-touch-icon-76x76.png",
"size": "76x76",
"scale": "1x",
"idiom": "ipad"
},
{
"filename": "apple-touch-icon-152x152.png",
"size": "76x76",
"scale": "2x",
"idiom": "ipad"
},
{
"filename": "Divco1024.png",
"size": "1024x1024",
"scale": "1x",
"idiom": "ios-marketing"
},
{
"size": "60x60",
"scale": "2x",
"idiom": "car"
},
{
"size": "60x60",
"scale": "3x",
"idiom": "car"
},
{
"role": "notificationCenter",
"size": "24x24",
"subtype": "38mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "notificationCenter",
"size": "27.5x27.5",
"subtype": "42mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "companionSettings",
"size": "29x29",
"scale": "2x",
"idiom": "watch"
},
{
"role": "companionSettings",
"size": "29x29",
"scale": "3x",
"idiom": "watch"
},
{
"role": "appLauncher",
"size": "40x40",
"subtype": "38mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "appLauncher",
"size": "44x44",
"subtype": "40mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "appLauncher",
"size": "50x50",
"subtype": "44mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "86x86",
"subtype": "38mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "98x98",
"subtype": "42mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "108x108",
"subtype": "44mm",
"scale": "2x",
"idiom": "watch"
},
{
"size": "1024x1024",
"scale": "1x",
"idiom": "watch-marketing"
},
{
"size": "16x16",
"scale": "1x",
"idiom": "mac"
},
{
"size": "16x16",
"scale": "2x",
"idiom": "mac"
},
{
"size": "32x32",
"scale": "1x",
"idiom": "mac"
},
{
"size": "32x32",
"scale": "2x",
"idiom": "mac"
},
{
"size": "128x128",
"scale": "1x",
"idiom": "mac"
},
{
"size": "128x128",
"scale": "2x",
"idiom": "mac"
},
{
"size": "256x256",
"scale": "1x",
"idiom": "mac"
},
{
"size": "256x256",
"scale": "2x",
"idiom": "mac"
},
{
"size": "512x512",
"scale": "1x",
"idiom": "mac"
},
{
"size": "512x512",
"scale": "2x",
"idiom": "mac"
}
],
"info": {
"version": 1,
"author": "xcode"
}
}

最佳答案

我遇到了类似的错误。图标在那里,info.plist 或 .csproj 文件中没有错误。 Visual Studio 和 XCode 是完全最新的。我通过构建和运行 iPad 部署目标来修复它。 iPad模拟器没问题。在此之后,我制作了另一个存档,使用 Application Loader 提交它,一切都很好。

关于Xamarin 形成 AppIcon.xcassets 导致上传错误。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52960778/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com