iOS crash: missing images before playing video - ios

I want to use MPMoviePlayerViewController to play a video, then it comes out a crash with following log:
*** Assertion failure in -[MPDetailSlider _setupControlsForStyle], /SourceCache/MediaPlayer_Sim/MobileMusicPlayer-1641.29/MPDetailSlider.m:708
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'missing images for style 2'
Did anyone meet this crash before, could you help?
Thanks in advance.

This solved the problem we had. Thanks for adding the edit. We had a category to UIImage that was called imageNamed:inBundle. Changing the name to our category method solved the problem.

Related

App crashes with BLE under Swift

I am developing a Swift App using Bluetooth LE, that crashes from time to time - not really reproducable.
I get always the same error message but can't find anything to lighten things up.
*** Assertion failure in -[CBUUID initWithData:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreBluetooth/CoreBluetooth-327.1/CBUUID.m:170
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Data <> does not
represent a valid UUID'
Does anybody has a idea what the error might be?
Thanks in advance
Reto

Invalid parameter not satisfying: nibNameMap != nil

So I was following a tutorial on YouTube. https://www.youtube.com/watch?v=4ymz6i07DRM&feature=youtu.be
Ive done exactly what he did. And edited a few things because I'm using the latest Xcode 7.
When i run the application, the emulator opens, and launch screen appears. Immediately after that it goes back to the Xcode with an error in the console saying
*** Assertion failure in -[UIStoryboard
initWithBundle:storyboardFileName:identifierToNibNameMap:identifierToExternalStoryboardReferenceMap:designatedEntryPointIdentifier:],
/BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3473.13/UIStoryboard.m:63
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'Invalid parameter not
satisfying: nibNameMap != nil'
Ive tried searching everywhere but I couldn't find a way to get rid of this. Please help if anyone knows how to solve this.
I see the tutorial you're using involves Storyboards.
Check that you have ticked "Is Initial View Controller" appropriately in the storyboard you're editing. If this is not checked then I'd expect the error you're seeing.

iOS uncaught exception isKindOfClass:NSArray.class

I have been getting the below error while running my project in xcode 6.1.1, Can any please help to know what workarounds can be done to remove the below error.
[ERROR] Uncaught Exception: Invalid parameter not satisfying: [arguments isKindOfClass:NSArray.class]
libc++abi.dylib: terminating with uncaught exception of type NSException
Thanks
djrecker
I see something similar to this once in a blue moon. Have you tried cleaning the project? (In the menu: Product->Clean
Unfortunately I don't know what causes it (and I've been too lazy to attempt tracking it down), but that always clears it up for me when I see it.

Does anyone know why this exception is being thrown in ios/cordova?

I'm working on a hybrid app with a custom InAppBrowser plugin and seemingly randomly an exception gets thrown.
I don't have any way to consistently reproduce this bug. I open that app and browser around and eventually when clicking my browser plugin's close button this will happen.
It happens within cordova after I call this line here
Where the exception actually happens
CordovaLib.xcodeproj/Classes/Commands/CDVCommandDelegateImpl.m
I have spent hours trying to find what is happening and I can't find any information online that helps. I've tried wrapping it in a try/catch to at least see if I can bypass it and that doesn't work either
The actual logged error is:
*** Assertion failure in -[DDWebKitOperation dealloc], /SourceCache/MobileDataDetectorsUI/MobileDataDetectorsUI-109.1/URLification/DDOperation.m:202
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Container should already be nil'
Does anyone know what could be causing this and how to fix it?
Thanks.
I've seen this crash in UIView's that use data detectors. In my case it was in a unit test, so the fix was to delete the data detector in the test.

Adwhirl crashes on while iAd is loading

I have implemented the AdWhirl to show different network Ads but while it shows the ads on my view and I tap to open the ad it crashes with the following displayed in the log
-[AdWhirlAdapterIAd helperNotifyDelegateOfFullScreenModal]: unrecognized selector sent to instance 0x9fce850 2012-12-08
19:40:27.571 ExerMemosApp[2294:1b203] * Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason:
'-[AdWhirlAdapterIAd helperNotifyDelegateOfFullScreenModal]:
unrecognized selector sent to instance 0x9fce850'
I searched too much but couldn't find solution. Give me suggestion to remove this error.
Thanks in advance
Are you sure that the AdWhirlAdNetworkAdapter+Helpers.h file is included in your project? Make sure everything under AdWhirl/Internal is correctly referenced in your build settings.
you are not having helperNotifyDelegateOfFullScreenModal method in your File. Check that one because the name says, its delegate method. you might forgot to implement that method

Resources