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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -