ていますか?あなたがそうのようなファイル名を設定するには、テキストエディタを使用して手動でXMLを編集しようとすることができ
{
"images": [
{
"idiom": "iphone",
"size": "29x29",
"scale": "1x"
},
{
"idiom": "iphone",
"size": "29x29",
"scale": "2x"
},
{
"idiom": "iphone",
"size": "29x29",
"scale": "3x"
},
{
"idiom": "iphone",
"size": "40x40",
"scale": "2x"
},
{
"idiom": "iphone",
"size": "40x40",
"scale": "3x"
},
{
"idiom": "iphone",
"size": "57x57",
"scale": "1x"
},
{
"idiom": "iphone",
"size": "57x57",
"scale": "2x"
},
{
"idiom": "iphone",
"size": "60x60",
"scale": "2x"
},
{
"idiom": "iphone",
"size": "60x60",
"scale": "3x"
},
{
"idiom": "ipad",
"size": "29x29",
"scale": "1x"
},
{
"idiom": "ipad",
"size": "29x29",
"scale": "2x"
},
{
"idiom": "ipad",
"size": "40x40",
"scale": "1x"
},
{
"idiom": "ipad",
"size": "40x40",
"scale": "2x"
},
{
"idiom": "ipad",
"size": "50x50",
"scale": "1x"
},
{
"idiom": "ipad",
"size": "50x50",
"scale": "2x"
},
{
"idiom": "ipad",
"size": "72x72",
"scale": "1x"
},
{
"idiom": "ipad",
"size": "72x72",
"scale": "2x"
},
{
"idiom": "ipad",
"size": "76x76",
"scale": "1x"
},
{
"idiom": "ipad",
"size": "76x76",
"scale": "2x"
},
{
"idiom": "car",
"size": "120x120",
"scale": "1x"
},
{
"size": "24x24",
"idiom": "watch",
"scale": "2x",
"role": "notificationCenter",
"subtype": "38mm"
},
{
"size": "27.5x27.5",
"idiom": "watch",
"scale": "2x",
"role": "notificationCenter",
"subtype": "42mm"
},
{
"size": "29x29",
"idiom": "watch",
"role": "companionSettings",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "watch",
"role": "companionSettings",
"scale": "3x"
},
{
"size": "40x40",
"idiom": "watch",
"scale": "2x",
"role": "appLauncher",
"subtype": "38mm"
},
{
"size": "44x44",
"idiom": "watch",
"scale": "2x",
"role": "longLook",
"subtype": "42mm"
},
{
"size": "86x86",
"idiom": "watch",
"scale": "2x",
"role": "quickLook",
"subtype": "38mm"
},
{
"size": "98x98",
"idiom": "watch",
"scale": "2x",
"role": "quickLook",
"subtype": "42mm"
}
],
"info": {
"version": 1,
"author": "xcode"
}
}
を::
{
"filename": "icon-29.png",
"size": "29x29",
"scale": "1x",
"idiom": "iphone"
},
icon-29.png
ます、それは次のようになりますImages.xcassets
>AppIcons.appiconset
>Contents.json
になりますその後、フォルダAppIcons.appiconset
に追加する必要がありますが、あなたのコメントから、私はこれがバグであり、ここにファイルされると思います。https://bugzilla.xamarin.com/
Mine Content.jsonはほとんど空です。質問の更新をご覧ください。 私はあなたのバージョンに置き換えましたが、それは役に立たなかったです。 VSの再起動後、変更は元に戻りました。 – pfedotovsky
うまくいけないようですが、Xam.forumshttpsのこのスレッドを見るとバグかもしれませんね。//forums.xamarin.com/discussion/11503/images-xcassets-in-visual-studio/p2そのa VSが資産カタログをサポートするための新機能。私はバグを報告します。 Contents.jsonのバージョンをイメージセットとともに追加することもできますが、もう一度それを消去すると思います。 –
同じ問題ですが、私のアプリはVSからシミュレータに正しくデプロイされません。すべてがうまくコンパイルされますが、リソースが見つからないため、アプリケーションがすぐにクラッシュします。 PDFアセットは展開されていないようです。 Xamarin Studioからうまく動作します。 – chrilith