I am experiencing the same issue today.
In addition, if I check the box to send symbol data so that I may receive crash reports, Xcode crashes immediately without any errors.
Lastly, my app has a Quick Look plugin and the Organizer seems to not see it 90% of the time today and throws an error when I attempt to upload my app.
Post
Replies
Boosts
Views
Activity
How can we tell if an image is a ProRaw file vs. a regular Raw file? Is there a way to interrogate an image file's meta data using Apple API? Obviously this can't be done solely based on a file's UTI extension.
I think I solved it. I set the colorspace on the underlying CAMetalLayer of the MTKView (iOS/Catalyst does not let you set this directly on MTKView):
Add the following code at the end of the init method in MTKImageView.swift:
if let taggedColorSpace = image.colorSpace,
let metalLayer = self.layer as? CAMetalLayer {
metalLayer.colorspace = taggedColorSpace
}
All three images now properly display for me:
Update: If the colorspace supports wideGamut, then I set the colorspace in the CAMetalLayer to extendedSRGB, instead of the tagged colorspace:
if let taggedColorSpace = image.colorSpace,
let metalLayer = self.layer as? CAMetalLayer {
metalLayer.colorspace = isWideGamutRGB ? CGColorSpace(name: CGColorSpace.extendedSRGB) : taggedColorSpace
}
This seems to be related to layout constraints on the map view in the storyboard. If I remove the layout constraints on the map view, then I get a different error:
-[MKMapView _recursiveClearViewWillDidDisappearOnMoveToWindow]: unrecognized selector sent to instance 0x12b92dc00
I have the same issue.
Any chance you could post some sample working code, either here or in a DropBox folder?
Thanks!
Regarding the "SupportingHDRImagesInYourApp" sample app from Apple:
If I load a RAW image file, then it initially looks correct in the UIImageView class, but it doesn't seem to have enough dynamic range in Edit Mode when the adjustment sliders are displayed (colors seems slightly darker).
Do either of you have sample code showing how to properly expand the Laplacian Pyramid with the x2 logic?
Thanks,
Rick