objective c - dispatch_once in ShareKit causing crash -
i using sharekit p long time, without downloading last updates repository. need of new features, i've pulled last commits , tried run app new sharekit without making changes code (except small changes in includes).
app compiles without errors when try execute usual facebook sharing code - crashes without useful error description.
old code want work
nsurl *url = [nsurl urlwithstring:[nsstring stringwithutf8string:sk::game_services::get_app_store_url()]]; shkitem *item = [shkitem url:url title:[nsstring stringwithutf8string:message] contenttype:shkurlcontenttypewebpage]; [shkfacebook shareitem:item]; and according updated sharekit demo app , documentation - code should still work. doesn't
it horribly crashes in currentindicator method of shkactivityindicator inside macro define_shared_instance_using_block contains dispatch_once call.
debugger says "sigabrt" , thats all.
i don't know do.
Comments
Post a Comment