"iVersion update check failed because an unknown error occured"
n0shake opened this issue · 2 comments
n0shake commented
Console logs this error every time I start my application. Any pointers why?
antongaenko commented
same issue, i found that iVersion use nil for appStoreCountry
iVersion is checking http://itunes.apple.com/(null)/lookup?bundleId=...
appStoreCountry is nil because this code block doesn't work correctly in my case
self.appStoreCountry = [(NSLocale *)[NSLocale currentLocale] objectForKey:NSLocaleCountryCode];
I use custom Application language when run app, switching it back to System language resolves this issue
See SO answer http://stackoverflow.com/a/32569003/440465 for more details
n0shake commented
Thank you for this. Switching back to System language did fix this issue. Closing.