ios - Error _BSMachError: (os/kern) invalid capability (20) after receiving remote notification on CloudKit record addition -
when receive remote notification on record addition (didreceiveremotenotification called), following error message:
_bsmacherror: (os/kern) invalid capability (20)
i've tried find out more in forums , via google not find helpful advice applies situation.
what error message mean? can it?
i experienced error. in uialert
action block; when block exited error occurred (btw parent uialertviewcontroller
created in dispatch_async block
guess off main thread.
anyway, wrapped action code in
dispatch_async(dispatch_get_global_queue(dispatch_queue_priority_default, 0), ^{ [self handleactionforelement:thistype]; });
and error went away. mileage may vary!
Comments
Post a Comment