iPad Pro 12" LaunchImage asset not being compiled into app
| Originator: | thon | ||
| Number: | rdar://29143252 | Date Originated: | 2016-11-07 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | UI/Usability | Reproducible: | Always |
Summary:
There's a new iPad Pro 12" slot for the LaunchImage in Xcode 8.1 (or maybe even 8.0), but it never gets compiled into the app, so doesn't get used.
The log below shows Xcode compiling the LaunchImage and AppIcons and you could see the all the other LaunchImage assets being compiled into the app, besides the iPad Pro 12"
-----
Showing All Messages
CompileAssetCatalog /Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app Resources/Media.xcassets
cd /Users/thon/projects/MyApp-iPad
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/assetcatalog_dependencies --output-partial-info-plist /Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPad6,8 --filter-for-device-os-version 10.1 --sticker-pack-identifier-prefix com.opentable.MyApp.sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 9.0 --platform iphonesimulator --product-type com.apple.product-type.application --compile /Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app /Users/thon/projects/MyApp-iPad/Resources/Media.xcassets
/* com.apple.actool.document.notices */
/Users/thon/projects/MyApp-iPad/Resources/Media.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/Users/thon/projects/MyApp-iPad/Resources/Media.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/* com.apple.actool.compilation-results */
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@3x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@3x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon60x60@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon60x60@3x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon29x29@2x~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon40x40@2x~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon76x76~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon76x76@2x~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/AppIcon83.5x83.5@2x~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-800-Portrait-736h@3x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-800-667h@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700-568h@2x.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700-Landscape~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/LaunchImage-700-Landscape@2x~ipad.png
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Products/Debug-iphonesimulator/MyApp.app/Assets.car
/Users/thon/Library/Developer/Xcode/DerivedData/MyApp-gldvoiquamqxowfqvgcydhfgzead/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/assetcatalog_generated_info.plist
-----
Steps to Reproduce:
1. Create a new iPad project
2. Add LaunchImage asset to Media.xcassets
3. Add an image to the iPad Pro 12" slot
4. Build the project
5. Deploy to a iPad Pro (12.9") simulator or device
Expected Results:
iPad Pro 12" LaunchImage asset should be compiled into the app
iPad Pro (12.9") device should display the provide LaunchImage
Actual Results:
The app is missing the iPad Pro 12" LaunchImage asset
No LaunchImage is displayed on the device
Version:
Xcode 8.1 (8B62)
OSX 10.12.1
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Got an update
We believe this issue is resolved in the latest Xcode 8.3 beta.
Please test with the latest Xcode beta. If you still have issues, please update your bug report with any relevant logs or information that could help us investigate.
https://developer.apple.com/download/