Post

Replies

Boosts

Views

Activity

Reply to [ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider" when using PhotosPicker
I have the same problem. I get the two lines in the Logs and then an EXC_BREAKPOINT. [ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider" updateImageHeadroom:1309: *** ERROR: CGImageSetHeadroom: 8.000000 failed for image with kCGColorSpaceDisplayP3 color space Breakpoints do not work most of the times with async code. And this is the only thing i get from the Stack trace: CoreTransferable`(1) await resume partial function for reabstraction thunk helper <τ_0_0, τ_0_1, τ_0_2 where τ_0_0: CoreTransferable.Transferable, τ_0_0: Swift.Decodable, τ_0_0: Swift.Encodable, τ_0_1: Combine.TopLevelEncoder, τ_0_2: Combine.TopLevelDecoder, τ_0_1.Output == Foundation.Data, τ_0_2.Input == Foundation.Data> from @escaping @callee_guaranteed @Sendable @async (@guaranteed Foundation.Data) -> (@out τ_0_0, @error @owned Swift.Error) to @escaping @callee_guaranteed @Sendable @async (@in_guaranteed Foundation.Data) -> (@out τ_0_0, @error @owned Swift.Error): Xcode16.0, Swift6
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to [ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider" when using PhotosPicker
I have the same problem. I get the two lines in the Logs and then an EXC_BREAKPOINT. [ERROR] Could not create a bookmark: NSError: Cocoa 4097 "connection to service named com.apple.FileProvider" updateImageHeadroom:1309: *** ERROR: CGImageSetHeadroom: 8.000000 failed for image with kCGColorSpaceDisplayP3 color space Breakpoints do not work most of the times with async code. And this is the only thing i get from the Stack trace: CoreTransferable`(1) await resume partial function for reabstraction thunk helper <τ_0_0, τ_0_1, τ_0_2 where τ_0_0: CoreTransferable.Transferable, τ_0_0: Swift.Decodable, τ_0_0: Swift.Encodable, τ_0_1: Combine.TopLevelEncoder, τ_0_2: Combine.TopLevelDecoder, τ_0_1.Output == Foundation.Data, τ_0_2.Input == Foundation.Data> from @escaping @callee_guaranteed @Sendable @async (@guaranteed Foundation.Data) -> (@out τ_0_0, @error @owned Swift.Error) to @escaping @callee_guaranteed @Sendable @async (@in_guaranteed Foundation.Data) -> (@out τ_0_0, @error @owned Swift.Error): Xcode16.0, Swift6
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to How can I suppress warning that "Conversion to Swift 5 is available"?
The same issue has existed when using cocoapods for a long time as far as i can tell, the workaround (since Apple never bothered fixing it) was to have a post-install fix/script in the Podfile that overwrote the target version for each pod. If the issue persist in the next versions (Xcode 13.3 still has it) maybe we could make something alike for SPM.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22