Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIActivityViewController => LaunchServices: invalidationHandler called

Tags:

xcode

ios

ios7

I am playing around with the idea of Airdrop. There is an error while running the sample code by Apple:

https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html

The error message is:

LaunchServices: invalidationHandler called

The problem is obviously caused by UIActivityViewController. The related code is under #pragma mark - Actions of this file if you could have a look.

It only show the error message when running on devices (both iPhone and iPad). It is all fine if running on simulator (both iPhone and iPad). What's the cause of this? Any idea about how to resolve it? Could it be possibly a bug?

Similar questions are asked by the following, none of which seems to be able to answer this quesition:

LaunchServices: invalidationHandler called - iOS 8 share sheet

Sharing via UIActivityViewController to Twitter/Facebook etc. causing crash

Present UIActivityViewController- LaunchServices:invalidationHandler called

like image 522
Yuchen Avatar asked Oct 03 '14 16:10

Yuchen


1 Answers

This is a bug on Apple's side. From the developer forums:

That log message does not indicate any error on your part.

like image 66
Eric Avatar answered Sep 18 '22 03:09

Eric