
막차 앱 개발 도중 공공 API 호출을 하니 이런 오류가 나타났다.
“App Transport Security has blocked a cleartext HTTP connection to swopenapi.seoul.go.kr since it is insecure. Use HTTPS instead or add this domain to Exception Domains in your Info.plist.”
👉 이는 iOS 9부터 신설된 외부 네트워크 관련 규칙인 ATS(App Transport Security) 때문이다.
http://)에 ATS 보안설정 없이 접속하려고 하면 정상적으로 통신할 수 없도록 막혀 있다. ( ATS 설정 )Info.plist로 가서 아래 옵션을 추가해주면 된다.
