0

I have created a simple web browser in xcode for macos, using this video : https://www.youtube.com/watch?v=oKk4zSTHzwY

but when i type https://google.com I get following error in xcode console : NSURLConnection finished with error - code -1022

user1718009
  • 303
  • 3
  • 7
  • -1022 = `NSURLErrorAppTransportSecurityRequiresSecureConnection` – Rob Mar 04 '18 at 05:52
  • how to fix this – user1718009 Mar 04 '18 at 05:52
  • BTW, you can't expect us to watch the video to figure out what you did. You should edit your question, removing the video link and replace it with a [small code snippet that can reproduce your problem](https://stackoverflow.com/help/mcve). – Rob Mar 04 '18 at 05:53
  • You generally fix -1022 error by adding "allow arbitrary loads" setting under "app transport security settings" category in one's info.plist. – Rob Mar 04 '18 at 06:06

0 Answers0