MichaelMKenny/ios-13-light-dark-wallpaper-app

Crash occurred after Set Wallpaper button

azeemohd786 opened this issue · 0 comments

Here, this is library which found via stack overflow.
I believe this source have worked 100% prior to iOS 13 or below. Now, Trying this in iOS 16 and Xcode 14, found crash after uploading both images and click Set Wallpaper. crash occurred at below line,

  _SBSUIWallpaperSetImages(@{@"light": lightImage, @"dark": darkImage},
                             @{@"light": lightOptions, @"dark": darkOptions},
                             locations,
                             UIUserInterfaceStyleDark);

The log,

Class SBFCARendererImageRepresentation is implemented in both /Users/azeemazeez/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SpringBoardFoundation (0x1171f9028) and /Users/azeemazeez/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PaperBoardUI.framework/PaperBoardUI (0x115223218). One of the two will be used. Which one is undefined.

the last line from crash log says, One of the two will be used. Which one is undefined.
may be this could be reason, could you help in this issue?