블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2738)
Unity3D (817)
Programming (475)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
05-07 05:17

'error'에 해당되는 글 13건

  1. 2020.12.28 [RuntimeError] http, https 이슈
  2. 2017.11.08 [iOS] Google Analytics doesn't work on new iOS project
  3. 2012.05.10 오류코드

Android에서는 빌드해서 실행 잘 되는데,

iOS 빌드는 다 되고 실행하는 데 통신이 안돼서 Xcode 로그를 보니 아래와 같은 에러 로그가 보인다 있다.

iOS에서 이제는 https를 강제하기 때문에 http URL로 통신하려고 하면 Runtime에 Error를 뱉는다.

 

2020-12-28 20:02:53.378574+0900 project[46312:8363659] 
You are using download over http. 
Currently Unity adds NSAllowsArbitraryLoads to Info.plist to simplify transition, 
but it will be removed soon. Please consider updating to https.

2020-12-28 20:02:53.380318+0900 project[46312:8363628] 
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.

2020-12-28 20:02:53.380351+0900 project[46312:8363628] 
Cannot start load of Task <9D5615C0-5B46-4144-9851-1EB6BFDEAF4A>.
<0> since it does not conform to ATS policy

 

[결론]

iOS는 https URL을 강제한다.

URL은 항상 https를 준비하고 사용하자.

 

반응형
Posted by blueasa
, |

XCode 최신 버전으로 업데이트 하고나서 빌드 하려니 GA 관련 Link 에러가 나서 찾아봤더니 아래 프레임워크가 필요하다고 한다.


리스트를 살펴보니 CoreData.framework가 빠져 있어서 수동 추가 후 정상 빌드 확인..




The Google Analytics SDK uses the CoreData and SystemConfiguration frameworks, so you will need to add the following to your application target's linked libraries:

  • libGoogleAnalyticsServices.a
  • AdSupport.framework
  • CoreData.framework
  • SystemConfiguration.framework
  • libz.dylib



[출처] https://stackoverflow.com/questions/22008892/google-analytics-doesnt-work-on-new-ios-project

반응형
Posted by blueasa
, |

오류코드

Programming/Python / 2012. 5. 10. 15:53

1) 오류코드 : SyntaxError: Non-ASCII character '\xc7' in file 
2) 원인 : 문자 인코딩 오류로 한글이 코드에 들어갈대 생기는 문제, 링크 따라가면 해결 방법 나옴.
3) 해결 : 소스 맨 위에 다음 문장 추가,
          - 한글 해결  : # -*- coding:cp949 -*-
          - unicode 해결 : # -*- coding:utf-8 -*-

 

 

1) 오류코드 : AttributeError: debugger instance has no attribute 'open_process'
2) 원인 : '해당명' 인스턴스(객체)가 없다는 오류, 저 함수 open_process가 없다는 내용이다.
3) 해결 : 오류난 줄로 가서 해당 함수명을 조사해 보면..  대부분 오타이다!! ㅋ

 

 

 

1) 오류코드 : NameError: global name 'DEBUG_EVENT' is not defined
2) 원인 : 해당 객체가 정의되지 않았다.
3) 해결 : 해당 내용이 생성 및 정의되어 있는지 확인해 본다.



[출처] Python 오류코드|작성자 msBang

반응형
Posted by blueasa
, |