Applications that load PDF Template images with RTL options set in the asset catalog, crash on OS X 10.11
| Originator: | t.zoechling | ||
| Number: | rdar://28629557 | Date Originated: | 05-Oct-2016 |
| Status: | Open | Resolved: | |
| Product: | macOS SDK | Product Version: | Version 8.0 (8A218a) |
| Classification: | Crash | Reproducible: | Always |
Thomas Zoechling 05-Oct-2016 12:23 PM Summary: Applications that load assets from the catalog crash when the following conditions are met: - The app is built with Xcode 8 on macOS 10.12 - The app is launched on OS X 10.11 - The asset is a PDF - The asset uses a "Template" suffix - The asset has RTL layout options set (like "Mirror" or "Both") Steps to Reproduce: Check the attached sample for a pre-configured project that exposes the issue. 1. Create a new macOS project in Xcode 2. Add a simple button that can hold an image to the UI 3. Drag a black & white PDF Template asset to the asset catalog 4. Set a RTL option like "Right to Left, Mirrors" in the asset catalog inspector 5. Assign that image as the button's image 6. Compile the app with Xcode 8 on macOS Sierra 7. Copy the .app bundle to a machine running OS X 10.11 and launch the app 8. Note that the app crashes during nib/asset loading Expected Results: The app works when launched on OS X 10.11 Actual Results: The app crashes when the affected asset is loaded from the catalog. Version: Version 8.0 (8A218a) Notes: Configuration: Build configuration: MacBook Pro 15'', macOS Sierra 10.12 Runtime configuration: MacBook Pro 15'', OS X 10.11.6 Attachments: 'AssetCatalogRTLCrashPDF.zip' was successfully uploaded.
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!