I am running an app that uses the openweather API, when I run it the first time it works, but then it starts crashing and the error says that the internet connection appears to be offline. Is it an API error or is it the simulator?
Xcode 12 simulator offline issue
Could well be an issue with your code - how does your app handle requesting and setting permission/privacy?
Have you configured for location services?
Can you show the exact error rather than paraphrase, thanks.
Have you configured for location services?
Can you show the exact error rather than paraphrase, thanks.
This is the error.
NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey="APIURL", NSErrorFailingURLKey="APIURL",_kCFStreamErrorDomainKey=1}
So I don't known if it is indeed my code or an issue with the simulator configuration.
Reagards,
NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey="APIURL", NSErrorFailingURLKey="APIURL",_kCFStreamErrorDomainKey=1}
So I don't known if it is indeed my code or an issue with the simulator configuration.
Reagards,