App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
iOS 9
Xcode 7
MAC OS X 10.11 EI Capitan
iOS9 이 출시되고 위와 같이 mac OS, xcode 까지 업데이트를 반나절을 거쳐 진행하고 프로젝트를 빌드 시켰는데 오류가 발생했다.
기존에 쓰던 통신모듈이 동작하지 않았다.
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
이같은 오류메세지를 남긴체..
방법은 info.plist에 있었다. 다음과 같이 추가해 주자.
information Property List에서 찾아 보았는데 없어서 직접 입력해서 등록하였다.
NSAppTransportSecurity 는 Dictionary
NSAllowsArbitraryLoads 는 Boolean 값으로 YES 를 입력하면 해결된다.
반응형
'IT > iOS' 카테고리의 다른 글
[iOS] developer mode disabled 해결방법 (0) | 2023.07.27 |
---|---|
ios UIScrollView detect scroll direction (0) | 2015.10.13 |
xcode7 bitcode 오류 (0) | 2015.09.18 |
[iOS] uiscrollview 스크롤시 맨위로 버튼 처리 (0) | 2015.08.13 |
x-apple-amd-action_message (13) | 2015.08.03 |
[iOS] UILabel random Textcolor (1) | 2015.07.14 |
[iOS] UIView 부분적으로 라운드 적용하기 (2) | 2015.05.19 |
[iOS] 앱평가 하기, 리뷰 남기기는 iRate로 (0) | 2015.03.30 |