printdotio / printio-ios-sdk

SDK that enables the printing of any photo, from any source, onto any product!
Other
20 stars 11 forks source link

PrintIO SDK crashes on iPad #459

Closed pesquibr closed 8 years ago

pesquibr commented 9 years ago

Hi All. I'm getting an app crash when I try to run the PrintIO on iPad. I've tested on simulator using iPad 2, iPad Retina and iPad Air with iOS 8.4. The crash occurs on the first page (products list). If I run the app using the iPhone simulator all works fine. I'm using the SDK 1.2.28 in production mode. Thanks.

2015-07-21 10:59:32.675 artkive[94945:30951356] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/cesarsantos/Library/Developer/CoreSimulator/Devices/59710CD9-C5E3-46AC-81E5-D179B451D08C/data/Containers/Bundle/Application/A864A3D9-EA29-423F-BC2C-CB56A9B2D748/artkive.app/PrintIOBundle.bundle> (not yet loaded)' with name 'CellFProduct''
*** First throw call stack:
(
    0   CoreFoundation                      0x05882746 __exceptionPreprocess + 182
    1   libobjc.A.dylib                     0x01639a97 objc_exception_throw + 44
    2   CoreFoundation                      0x0588266d +[NSException raise:format:] + 141
    3   UIKit                               0x03959ddf -[UINib instantiateWithOwner:options:] + 1003
    4   UIKit                               0x0395bf82 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 180
    5   artkive                             0x008e6b73 intSort + 307996
    6   UIKit                               0x0373d6ed -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 473
    7   UIKit                               0x0373d7cf -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 77
    8   UIKit                               0x0371597b -[UITableView _updateVisibleCellsNow:isRecursive:] + 3034
    9   UIKit                               0x03730d20 -[UITableView layoutSubviews] + 220
    10  UIKit                               0x036a352a -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 668
    11  libobjc.A.dylib                     0x0164f771 -[NSObject performSelector:withObject:] + 70
    12  QuartzCore                          0x032fae47 -[CALayer layoutSublayers] + 144
    13  QuartzCore                          0x032ee925 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 403
    14  QuartzCore                          0x032ee77a _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
    15  QuartzCore                          0x0324ac22 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284
    16  QuartzCore                          0x0324c0b5 _ZN2CA11Transaction6commitEv + 487
    17  QuartzCore                          0x0324c7cc _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
    18  CoreFoundation                      0x057a386e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
    19  CoreFoundation                      0x057a37b0 __CFRunLoopDoObservers + 400
    20  CoreFoundation                      0x057991ea __CFRunLoopRun + 1226
    21  CoreFoundation                      0x05798a5b CFRunLoopRunSpecific + 443
    22  CoreFoundation                      0x0579888b CFRunLoopRunInMode + 123
    23  GraphicsServices                    0x075262c9 GSEventRunModal + 192
    24  GraphicsServices                    0x07526106 GSEventRun + 104
    25  UIKit                               0x036100b6 UIApplicationMain + 1526
    26  artkive                             0x003cef54 main + 180
    27  libdyld.dylib                       0x068e9ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
felipessousa commented 9 years ago

I guess this bug is happening because Print.io is not compiled with universal family target. It only works if you install the iPhone app on iPad. How hard is to compile the storyboards with Universal family target ? Is this feature in your roadmap ? Any release date estimated for this fix ?

AustenB commented 9 years ago

Its in roadmap but would need someone paying some amount to accelerate it into this quarter.

On Tue, Jul 21, 2015 at 11:39 AM, Felipe Sousa notifications@github.com wrote:

I guess this bug is happening because Print.io is not compiled with universal family target. It only works if you install the iPhone app on iPad. How hard is to compile the storyboards with Universal family target ? Is this feature in your roadmap ? Any release date estimated for this fix ?

— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-ios-sdk/issues/459#issuecomment-123376588 .

Austen Bernstein Founder & CEO printio

highend3d commented 8 years ago

What is the status of iPad support? Especially interested in landscape support as well.

tobiasfrier commented 8 years ago

@highend3d

Thanks for checking back in with us and for your continued patience. We will begin ideation for iPad in Jan. 2016

Cheers