nalexn / clean-architecture-swiftui

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
MIT License
5.57k stars 671 forks source link

Countries not loading with error in console on iOS 13.3 simulator #10

Closed anatoliyv closed 4 years ago

anatoliyv commented 4 years ago

On iOS 13.3 app is not working. Infinite loading indicator with error in console

2020-01-27 16:36:27.686086+0200 CountriesSwiftUI[93607:5277210] 
Task <CF46B85F-26FE-4D81-917C-338E10956D73>.<1> 
finished with error [-999] Error Domain=NSURLErrorDomain Code=-999 "cancelled" 
UserInfo={NSErrorFailingURLStringKey=https://restcountries.eu/rest/v2/all, 
NSLocalizedDescription=cancelled, NSErrorFailingURLKey=https://restcountries.eu/rest/v2/all}
nalexn commented 4 years ago

Hm, just tested on iOS simulator 13.3 for iPhone, iPad, and on a real device. The list of countries / details seem to work with no issues.

I've pushed couple commits (you may want to pull), but they are unrelated to the issue you're observing.

Could you retry with other targets (Catalyst, real device)?

anatoliyv commented 4 years ago

@nalexn Yes you're right. There were few commits I did not pull. Latest code works fine.