Xamarin 表单 AppIcon.xcassets 导致上传错误。
Xamarin forms AppIcon.xcassets causing error on upload.
将我的应用程序上传到 TestFlight 时出现以下错误。
但是,我在 Xamarin 资产菜单中看不到 missing
图标的任何位置。 (76x76、167x167 和 152x152)
我想我可以通过在 Sublime 中编辑 Contents.json 文件来解决这个问题,但文件中似乎包含了 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 提交,一切正常。
将我的应用程序上传到 TestFlight 时出现以下错误。
但是,我在 Xamarin 资产菜单中看不到 missing
图标的任何位置。 (76x76、167x167 和 152x152)
我想我可以通过在 Sublime 中编辑 Contents.json 文件来解决这个问题,但文件中似乎包含了 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 提交,一切正常。