OceanLabs / iOS-Print-SDK

iOS Print SDK. Easily add print on demand functionality to your app within minutes! Print Postcards, Magnets, Photo Prints, Posters, Stickers, T-Shirts, PhotoBooks, etc.
https://www.kite.ly
111 stars 33 forks source link

OLArtBoardAssetView.m (line 39) beyond bounds exception crash #297

Closed rpassis closed 6 years ago

rpassis commented 6 years ago

Hey all,

We are getting some production crashes coming through and I wanted to touch base to see if this is something we can solve on our end, or if not report it as a bug

Let me know if you need more details. Thanks, Rog

Fatal Exception: NSRangeException
*** -[__NSArrayM objectAtIndex:]: index 21 beyond bounds [0 .. 20]

0  CoreFoundation                 0x18f2f91b8 __exceptionPreprocess
1  libobjc.A.dylib                0x18dd3055c objc_exception_throw
2  CoreFoundation                 0x18f1d471c -[__NSArrayM removeObjectAtIndex:]
3  KiteSDK                        0x100b8e078 -[OLArtboardAssetView loadImageWithCompletionHandler:] (OLArtboardAssetView.m:39)
4  KiteSDK                        0x100aef0b4 __71-[OLPhotobookPageContentViewController loadImageWithCompletionHandler:]_block_invoke (OLPhotobookPageContentViewController.m:109)
5  libdispatch.dylib              0x18e1821fc _dispatch_call_block_and_release
6  libdispatch.dylib              0x18e1821bc _dispatch_client_callout
7  libdispatch.dylib              0x18e186d68 _dispatch_main_queue_callback_4CF
8  CoreFoundation                 0x18f2a6810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
9  CoreFoundation                 0x18f2a43fc __CFRunLoopRun
10 CoreFoundation                 0x18f1d22b8 CFRunLoopRunSpecific
11 GraphicsServices               0x190c86198 GSEventRunModal
12 UIKit                          0x1952197fc -[UIApplication _run]
13 UIKit                          0x195214534 UIApplicationMain
kkarayannis commented 6 years ago

A new version, v7.0.0, which includes a new photobook experience is now live and this should no longer be an issue.