tag

2020년 (1) 2단계 확인 (1) 공인인증 (1) 공인인증서 (1) 구글 넥서스 2세대 (1) 구글캐스트 (1) 네트워크 위치 (1) 데비안 (1) 도움말 (1) 멤버십 (1) 멤버십 무료 (1) 보안 (1) 소유권이전 (1) 시스템 관리 컨트롤러 재설정 (1) 애플 (2) 애플 뉴스 (1) 애플 보안 인증 (1) 애플 앱스토어 가이드라인 (1) 앱 이전 (1) 앱스토어 커넥트 (1) 업데이트 (1) 이중 인증 (1) 인증 (1) 인증 전환 (1) 자동회전 동작안함 (1) 자동회전 오류 (1) 크롬캐스트 (1) 키체인 (1) AFNetwork (1) align (1) android (1) Android 앱 이전 (1) apns (1) app 이전 (1) app store (1) App Store Connect (1) App Store Review Guidelines (1) App Tranport Security (1) app transfer (1) appcode (2) apple (4) apple developer program (1) apple news (1) AppStore (1) apt (1) apt-get (1) arm64 error (1) asus nexus (1) bitcode (1) bitcode_bundle (1) cast (1) chromecast (1) coredata (1) Could not connect to server (1) CPU (1) csrutil (1) csrutil disable (1) debian (2) debian install on macbook air (1) debian linux (1) debian mirror (1) delfino (1) el capitan (1) Enable Bitcode (1) error (2) ftp.kr.debian.org (1) google (1) google cast (1) google nexus 2nd (1) google play (1) harukasan (1) help appstore connect (1) html5 (1) image logo (1) Info.plist (1) ios (10) ios distribution signning (1) ios11 (1) ios13 sdk (1) iOS8 (1) iOS9 (2) ITMS-90474 (1) ITMS-90475 (1) itunesconnect (1) jessie (1) jetbrains (2) kernel_task (1) lanet (1) left align (1) linux (1) location (1) macbook air (1) MacBookPro8_2 (1) macOS (1) macoscatalina (1) MEMORY (1) must have (1) network location (1) networksetup (1) non-free (1) NSURLComponents (1) NSURLQueryItem (1) Objective-C (1) operation not permitted (1) optimize (1) osx (2) queryItems (1) SMC (1) softforum (1) sourcelist (1) sqlite (1) storyboard (1) swift (4) swiftui (1) system (1) systemstatus (1) tip (1) Transferring an App (1) uinavigationbar (2) UITabBar (1) UITabBarController (1) uiwebview (1) uninstall (1) uninstaller (1) url encode (1) User Experience Guidelines (1) VALID_ARCHS (1) Ventura (1) vim (1) watch os (1) wkwebview (1) WWDR (1) xcode (7) Xcode Help (1) Xcode IDE 도움말 (1) xcode12 (1) Xcode7 (4) Yosemite (1)

광고-자동

hell.o.world

tim toady

2015-10-19

iOS9, Xcode7 - Could not connect to server

iOS9 사용, 당연히 Xcode7 compile 시에, 문제가 되었음.
문제는 http는 사용할 수 없으니 https로 요청하라 뭐 이런 거임.


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 에서 아래와 같이 세팅.

<key>NSAppTransportSecurity</key>
<dict>
 <key>NSAllowsArbitraryLoads</key>
 <true/>
</dict>
 
NSAppTransportSecurity를 Dictionary로 세팅후 이 항목의 서브항목으로
NSAllowsArbitraryLoads를 Boolean값으로 세팅
 
즉 Info.plist에 아래와 같이 세팅
 
NSAppTransportSecurity<Dictionary>
    - NSAllowsArbitraryLoads<Boolean> : <YES>
 
 
출처:
http://iosdevtips.co/post/121756573323/ios-9-xcode-7-http-connect-server-error 

댓글 없음:

댓글 쓰기