Posts

Post not yet marked as solved
5 Replies
0 Views
Thank you! The color spaces are identical. Before: <CGColorSpace 0x281da9440> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; QuickTime 'nclc' Video (1,1,6)) After: <CGColorSpace 0x281da9440> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; QuickTime 'nclc' Video (1,1,6)) But you are absolutely right, the code I posted was wrong! Here is a cleaner version that seems to work let pixelBufferRef = frame.capturedImage let resolution = frame.camera.imageResolution var image = CIImage(cvPixelBuffer: pixelBufferRef) let viewportSize = CGSize(width: resolution.height, height: resolution.width) let transform = frame.displayTransform(for: .portraitUpsideDown, viewportSize: viewportSize) image = image.transformed(by: transform) do { let context = CIContext() let url = getDocumentsDirectory().appending(component: "captured-image-corrected.png") try context.writePNGRepresentation(of: image, to: url, format: .RGBA8, colorSpace: image.colorSpace!) } catch { fatalError(error.localizedDescription) } Does this sound better to you?
Post not yet marked as solved
5 Replies
0 Views
Thank you for your reply. In fact I noticed a color problem that occurs after correcting the orientation of the image (the captured image is in landscape format)... The corrected image has slightly different colors from the uncorrected version. Here is the code I use to correct the orientation: let pixelBufferRef = frame.capturedImage let resolution = frame.camera.imageResolution var image = CIImage(cvPixelBuffer: pixelBufferRef) let viewportSize = CGSize(width: resolution.height, height: resolution.width) let transform = frame.displayTransform(for: .portraitUpsideDown, viewportSize: viewportSize) image = image.transformed(by: transform) let context = CIContext() if let imageRef = context.createCGImage(image, from: image.extent) { let png = context.pngRepresentation(of: image, format: .BGRA8, colorSpace: image.colorSpace!) try? png?.write(to: documentsURL.appending(component: "captured-image-corrected.png")) } Did I miss something?
Post not yet marked as solved
43 Replies
0 Views
I made a new build and it is finally visible! My understanding is as follows (to be checked): I think that we have several problems: 1) high processing times on the Apple side (due to the release of iOS 14?) 2) Apple does not alert in case of configuration problems (everything is green when uploading but the build does not appear on the Apple Store interface)... No email , or messages allowing to understand what is happening My advice: carefully check the configuration of your info.plist file!
Post not yet marked as solved
10 Replies
0 Views
These device logs seem suspicious to me:accountsd iTunesAccountsAuthenticationPlugin: [3B8DD2D7] Something went wrong and our auth response has no username.accountsd iTunesAccountsAuthenticationPlugin: [3B8DD2D7] The authentication request said it completed successfully, but we couldn't parse its response.
Post not yet marked as solved
3 Replies
0 Views
Same problem :https://forums.developer.apple.com/thread/109365https://forums.developer.apple.com/thread/109370
Post not yet marked as solved
10 Replies
0 Views
Phantomsg: thanks for the link you shared !Apple: Is it possible to have help please? (it seems that many developers are facing the same problem).