Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJames Lambert
Courses Plus Student 14,477 PointsWhat does Error Domain=NSURLErrorDomain Code=-1005 "The operation couldn’t be completed. (NSURLErrorDomain error -1005.)
what does it mean when I get Error Domain=NSURLErrorDomain Code=-1005 "The operation couldn’t be completed. (NSURLErrorDomain error -1005.)
code is exactly like the one on the tutorial.
It wouldn't work, and then it magically started. Today when I am playing with it, it quit. When I print out the error message it gives me the above message.
1 Answer
Jason Wayne
11,688 PointsSounds like a bug to me since it worked and suddenly it quits without you changing the code of the app.
Are you using a simulator? If so, are you using an iOS8 simulator (like iPhone6)? There was a bug with it, and I think many has experience the -1005 error code as well. Perhaps reseting your simulator could help.
James Lambert
Courses Plus Student 14,477 PointsJames Lambert
Courses Plus Student 14,477 PointsIt was an issue in the swift.