KINWebBrowser icon indicating copy to clipboard operation
KINWebBrowser copied to clipboard

Share button crash

Open jehartley opened this issue 10 years ago • 8 comments

When you select a link in the rss feed it goes to the page just fine. The stop, refresh, back and forward buttons work as they should. However, when you select the share button in the bottom right it crashes the app. Any solution or ideas why?

jehartley avatar Feb 28 '15 15:02 jehartley

2015-02-28 10:56:37.223 Kenna[1967:698970] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSBundle initWithURL:]: nil URL argument' *** First throw call stack: ( 0 CoreFoundation 0x0000000108871f35 exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010850abb7 objc_exception_throw + 45 2 CoreFoundation 0x0000000108871e6d +[NSException raise:format:] + 205 3 Foundation 0x000000010811641a -[NSBundle initWithURL:] + 87 4 Foundation 0x00000001081164c9 +[NSBundle bundleWithURL:] + 45 5 Kenna 0x000000010669a5c3 -[TUSafariActivity activityTitle] + 147 6 UIKit 0x00000001090a611b -[UIActivityGroupViewController collectionView:cellForItemAtIndexPath:] + 163 7 UIKit 0x000000010928c41b -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:] + 244 8 UIKit 0x000000010928db54 -[UICollectionView _updateVisibleCellsNow:] + 3445 9 UIKit 0x0000000109291801 -[UICollectionView layoutSubviews] + 243 10 UIKit 0x0000000108cd7973 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 521 11 QuartzCore 0x0000000107150de8 -[CALayer layoutSublayers] + 150 12 QuartzCore 0x0000000107145a0e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380 13 UIKit 0x0000000108ccb847 -[UIView(Hierarchy) layoutBelowIfNeeded] + 611 14 UIKit 0x0000000109068382 -[_UIAlertControllerAnimatedTransitioning animateTransition:] + 484 15 UIKit 0x0000000108d621d3 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 1842 16 UIKit 0x0000000108c81331 _applyBlockToCFArrayCopiedToStack + 314 17 UIKit 0x0000000108c811ab _afterCACommitHandler + 516 18 CoreFoundation 0x00000001087a6dc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 19 CoreFoundation 0x00000001087a6d20 __CFRunLoopDoObservers + 368 20 CoreFoundation 0x000000010879cb53 __CFRunLoopRun + 1123 21 CoreFoundation 0x000000010879c486 CFRunLoopRunSpecific + 470 22 GraphicsServices 0x000000010c2b39f0 GSEventRunModal + 161 23 UIKit 0x0000000108c5e420 UIApplicationMain + 1282 24 Kenna 0x00000001066785be top_level_code + 78 25 Kenna 0x000000010667869a main + 42 26 libdyld.dylib 0x000000010b21f145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

jehartley avatar Feb 28 '15 16:02 jehartley

I am having the same problem. Any solution yet?

chrisp522 avatar Mar 09 '15 21:03 chrisp522

Same pb here

jchesne avatar Mar 22 '15 13:03 jchesne

same problem here, does anyone have a fix?

ghost avatar Apr 11 '15 08:04 ghost

I deleted the KINWebBrowser files and reinstall them using cocoa pods and the share menu now works fine.

ghost avatar May 05 '15 16:05 ghost

This is caused by TUSafariActivity, which seems like it must be installed via CocoaPods. I understand that this is not ideal. I am working on a solution. For now the only solution is to install KINWebBrowser via CocoaPods, or remove TUSafariActivity from your project altogether.

dfmuir avatar May 10 '15 05:05 dfmuir

Find the "Assets" folder in the TUSafariActivity folder and rename it to "TUSafariActivity.bundle". Drag this bundle and the TUSafariActivity .h and .m files into your project. This will allow you to use the project without CocoaPods.

bryandubno avatar May 26 '15 22:05 bryandubno

@bryandubno Thanks a lot. Working perfectly. No need to use CocoaPods.

camchis avatar Jan 09 '16 18:01 camchis