可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I'm trying to define launch images. Probably only one image is missing.
I'm following the instructions from this site Create launch images in different sizes for different devices
So I have 7 images with the required size. But when I drag them to LaonchImages sheet it requires 8 images...the one that is missing is called "iPhone Portrait 2x" and according to the details pane I found its size 640x960 and I added it.
sill I'm getting the error - and the compilation fails...
回答1:
Select your project, go to Build Settings, search for AppIcon-2 and change it into AppIcon and you will be fine.
回答2:
Select project file and then select target in question. In General tab there is in app icons and launch images launch image source should be "Use assets category"
回答3:
My LaunchImage file had been deleted and I had to add a new one in my xcassets.
Go to your images.xcassets. If there is no LaunchImage listed on the left, click the plus button at the bottom and navigate to new iOS launch image. 
回答4:
In my case the problem was solved by removing the reference to Images.xcassets and then add it to the project again.
I'm not sure what caused the problem, but it may have something to do with the fact that I moved the assets "file" from one Xcode group to another, which would be weird as the file's path remained the same, but that was also the only thing I did with the file...
回答5:
We had our Asset Catalog Launch Image Set Name set in our project target. After removing this from the target and instead setting it in our project it compiled fine.