Post

Replies

Boosts

Views

Activity

Reply to WidgetKit Crash
0 CoreFoundation 0x18184904c __exceptionPreprocess + 220 1 libobjc.A.dylib 0x199ebdf54 objc_exception_throw + 60 2 Foundation 0x183105238 -[NSConcreteFileHandle offsetInFile] + 0 3 Foundation 0x183104e10 -[NSConcreteFileHandle init] + 0 4 Foundation 0x18301395c -[NSString(NSURLUtilities) stringByRemovingPercentEncoding] + 0 5 SwiftUI 0x1892bafe8 FileArchiveWriter.appendBytes(_:size:) + 52 6 SwiftUI 0x1892d130c FileArchiveWriter.append<A>(_:) + 184 7 SwiftUI 0x189310cb4 specialized ArchiveWriter.addAttachment(from:) + 388 8 SwiftUI 0x18930104c Encoder.encodeAttachedValue<A>(key:encoder:) + 400 9 SwiftUI 0x1892f7ae4 CodableCGImage.encode(to:) + 144 10 SwiftUI 0x1893098c0 protocol witness for Encodable.encode(to:) in conformance CodableCGImage + 20 11 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 12 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 13 libswiftFoundation.dylib 0x185e9d908 _PlistKeyedEncodingContainer.encode<A>(_:forKey:) + 384 14 libswiftFoundation.dylib 0x185e9b414 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _PlistKeyedEncodingContainer<A> + 32 15 libswiftCore.dylib 0x186245eec _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 396 16 libswiftCore.dylib 0x186239328 KeyedEncodingContainer.encode<A>(_:forKey:) + 68 17 SwiftUI 0x18930c0e8 GraphicsImage.encode(to:) + 800 I am also facing this crash on xcode 13.1 ios 15.1, the simulator did work perfectly while testflight build does not load the widget
Nov ’21