istornz / iPokeGo

A native iOS client to map the Pokemon around you!
https://github.com/RocketMap/RocketMap
MIT License
642 stars 168 forks source link

app crash #278

Closed tsuncp closed 8 years ago

tsuncp commented 8 years ago
    NSArray *gymsToRemove = [annotations filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"self isKindOfClass: %@ AND self.gymID IN %@" argumentArray:@[[GymAnnotation class], self.annotationsGymsToDelete]]];

2016-08-24 19:22:08.913 iPokeGo[5265:1203622] Fetched data libc++abi.dylib: terminating with uncaught exception of type NSException

SethG911 commented 8 years ago

I'd assume that this commit (1dde507) has something to do with this? Could this possibly solve the issue, or is it the cause? Are you running the latest version?

tsuncp commented 8 years ago

yes. i tried to solve the problem by using the latest version. however , it didn't fixed i need to reinstall the app to solve the problem.

tsuncp commented 8 years ago

because this issue happened before and after the latest version. Maybe it isn't belong to the commit?

istornz commented 8 years ago

@tsuncp This bug was already present before the commit

tsuncp commented 8 years ago

2016-08-26 20:25:03.093315 iPokeGo[281:10656] -[NSCFString objectForKeyedSubscript:]: unrecognized selector sent to instance 0x17066f440 2016-08-26 20:25:03.097669 iPokeGo[281:10656] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString objectForKeyedSubscript:]: unrecognized selector sent to instance 0x17066f440' *\ First throw call stack: (0x18ac681c0 0x1896a055c 0x18ac6f278 0x18ac6c278 0x18ab6659c 0x100108990 0x100105050 0x18b265618 0x18b27c318 0x18b7287e4 0x18b66d358 0x18b65d954 0x18b72ab90 0x10023521c 0x100242b54 0x100238ce4 0x100244e6c 0x100244bb8 0x189cf92c8 0x189cf8db4) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

if enabled showing gym in the latest version

app will crash.

should be related to server latest commit

https://github.com/PokemonGoMap/PokemonGo-Map/commit/81739ff8ef90032501b8d46e6aa69905250513a1