作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
将我的应用程序上传到 TestFlight 时出现以下错误。
但是,我没有看到 missing
的任何位置Xamarin Assets 菜单中的图标。 (76x76、167x167 和 152x152)
我想我可以通过编辑 来解决它。内容.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/
我有以下正则表达式 /[a-zA-Z0-9_-]/ 当字符串只包含从 a 到z 大小写、数字、_ 和 -。 我的代码有什么问题? 能否请您向我提供一个简短的解释和有关如何修复它的代码示例? //var
我是一名优秀的程序员,十分优秀!