ios - GameCenter Leaderboard in SpriteKit causing error -
i finished game in sprite kit , trying store highscore in gamecenter's leaderboards. followed tutorials worked great none-spritekit-projects. steps error:
- i debug app without errors, warnings no harm.
- app runs great, , starting skactions work flawless.
- i log in gamecenter succesfully.
- when touch screen freezes , gives me "missed method" log error , "thread 1:exc_bad_access (code=1, address=0x80000012)". whenever delete line of code causing bad_acess error pops other place in code.
my log:
2014-04-21 19:51:26.893 sharky[3417:60b] missed method 2014-04-21 19:51:27.683 sharky[3417:60b] -[nsmethodsignature copywithzone:]: unrecognized selector sent instance 0xacbdc20 2014-04-21 19:51:27.685 sharky[3417:60b] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[nsmethodsignature copywithzone:]: unrecognized selector sent instance 0xacbdc20' *** first throw call stack: ( 0 corefoundation 0x0009c1e4 __exceptionpreprocess + 180 1 libobjc.a.dylib 0x019978e5 objc_exception_throw + 44 2 corefoundation 0x00139243 -[nsobject(nsobject) doesnotrecognizeselector:] + 275 3 corefoundation 0x0008c50b ___forwarding___ + 1019 4 corefoundation 0x0008c0ee _cf_forwarding_prep_0 + 14 5 libobjc.a.dylib 0x019a9bcd -[nsobject copy] + 41 6 spritekit 0x01481f4c -[sknode runaction:] + 55 7 sharky 0x0000595c -[myscene touchesbegan:withevent:] + 476 8 spritekit 0x014702bf -[skview touchesbegan:withevent:] + 824 9 uikit 0x00576c0b -[uiwindow _sendtouchesforevent:] + 386 10 uikit 0x005779d1 -[uiwindow sendevent:] + 1117 11 uikit 0x005495f2 -[uiapplication sendevent:] + 242 12 uikit 0x00533353 _uiapplicationhandleeventqueue + 11455 13 corefoundation 0x0002577f __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 15 14 corefoundation 0x0002510b __cfrunloopdosources0 + 235 15 corefoundation 0x000421ae __cfrunlooprun + 910 16 corefoundation 0x000419d3 cfrunlooprunspecific + 467 17 corefoundation 0x000417eb cfrunloopruninmode + 123 18 graphicsservices 0x03a7f5ee gseventrunmodal + 192 19 graphicsservices 0x03a7f42b gseventrun + 104 20 uikit 0x00535f9b uiapplicationmain + 1225 21 sharky 0x0000a472 main + 130 22 libdyld.dylib 0x023e4701 start + 1 23 ??? 0x00000001 0x0 + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception (lldb)
does have clue whats going on? or have step-by-step tutorial on how integrate gamecenter leaderboards sprite kit project?
Comments
Post a Comment