Post

Replies

Boosts

Views

Activity

Xcode 13.1 Iphone 13 pro ios 15.1 WidgetKit Crash
I am facing a weird issue when widget is working fine on older ios 14 devices and also working fine on simulators as well, but crashed on Iphone 13 pro ios 15.1 I am posting crash logs here Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Application Specific Information: abort() called Last Exception Backtrace: 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 18 SwiftUI 0x1892ea80c protocol witness for Encodable.encode(to:) in conformance GraphicsImage + 16 19 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 20 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 21 libswiftFoundation.dylib 0x185e9d908 _PlistKeyedEncodingContainer.encode<A>(_:forKey:) + 384 22 libswiftFoundation.dylib 0x185e9b414 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _PlistKeyedEncodingContainer<A> + 32 23 libswiftCore.dylib 0x186245eec _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 396 24 libswiftCore.dylib 0x186239328 KeyedEncodingContainer.encode<A>(_:forKey:) + 68 25 SwiftUI 0x189299210 DisplayList.Content.encode(to:) + 628 26 SwiftUI 0x18939c6a4 protocol witness for Encodable.encode(to:) in conformance DisplayList.Content + 24 27 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 28 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 29 libswiftFoundation.dylib 0x185e9d908 _PlistKeyedEncodingContainer.encode<A>(_:forKey:) + 384 30 libswiftFoundation.dylib 0x185e9b414 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _PlistKeyedEncodingContainer<A> + 32 31 libswiftCore.dylib 0x186245eec _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 396 32 libswiftCore.dylib 0x186239328 KeyedEncodingContainer.encode<A>(_:forKey:) + 68 33 SwiftUI 0x18928a498 DisplayList.Item.encode(to:) + 472 34 SwiftUI 0x1892805a0 protocol witness for Encodable.encode(to:) in conformance DisplayList.Item + 64 35 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 36 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 37 libswiftFoundation.dylib 0x185ea9814 _PlistUnkeyedEncodingContainer.encode<A>(_:) + 408 38 libswiftFoundation.dylib 0x185e8fda8 protocol witness for UnkeyedEncodingContainer.encode<A>(_:) in conformance _PlistUnkeyedEncodingContainer + 16 39 libswiftCore.dylib 0x18625b59c Array<A>.encode(to:) + 608 40 libswiftCore.dylib 0x18625b738 protocol witness for Encodable.encode(to:) in conformance <A> [A] + 32 41 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 42 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 43 libswiftFoundation.dylib 0x185e9d908 _PlistKeyedEncodingContainer.encode<A>(_:forKey:) + 384 44 libswiftFoundation.dylib 0x185e9b414 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _PlistKeyedEncodingContainer<A> + 32 45 libswiftCore.dylib 0x186245eec _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 396 46 libswiftCore.dylib 0x186239328 KeyedEncodingContainer.encode<A>(_:forKey:) + 68 47 SwiftUI 0x1892b549c DisplayList.encode(to:) + 280 48 SwiftUI 0x1892abe18 protocol witness for Encodable.encode(to:) in conformance DisplayList + 24 49 libswiftCore.dylib 0x1865340fc dispatch thunk of Encodable.encode(to:) + 32 50 libswiftFoundation.dylib 0x185e906f8 __PlistEncoder.box_<A>(_:) + 376 51 libswiftFoundation.dylib 0x185e9d908 _PlistKeyedEncodingContainer.encode<A>(_:forKey:) + 384 52 libswiftFoundation.dylib 0x185e9b414 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _PlistKeyedEncodingContainer<A> + 32
1
0
1k
Nov ’21