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

카테고리

분류 전체보기 (2816)
Unity3D (870)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (236)
협업 (61)
3DS Max (3)
Game (12)
Utility (68)
Etc (98)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (55)
Android (16)
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

[추가] 2021-08-05 확인

GoogleMobileAds v6.0.1(2021-06-27 업데이트)에서 수정됐다.

https://github.com/googleads/googleads-mobile-unity/releases/tag/v6.0.1

------------------------------------------------------------------------

 

GoogleMobileAds v6.0.0이 나와서 설치했는데 iOS에서 Build Error가 나서 확인해보니 GoogleMobileAds v6.0.0 버그 같다.

 

아래와 같이 Workaround.m 파일을 만들어서 추가하면 해결 된다.

------------------------------------------------------------------------

qbit86 commented 2 days ago

@onom88
It would probably be sufficient to reduce Assets/Plugins/iOS/Workaround.m to just this, with no headers needed at all:
// Workaround for https://github.com/googleads/googleads-mobile-unity/issues/1616

typedef const void *GADUTypeInterstitialRef;

typedef const void *GADUTypeRewardedAdRef;

typedef const void *GADUTypeRequestRef;

void GADURequestInterstitial(GADUTypeInterstitialRef interstitial, GADUTypeRequestRef request) { }

void GADURequestRewardedAd(GADUTypeRewardedAdRef rewardedAd, GADUTypeRequestRef request) { }

 

 

[링크] https://github.com/googleads/googleads-mobile-unity/issues/1616

 

Build iOS failed: Undefined symbols for architecture arm64: "_GADURequestInterstitial" · Issue #1616 · googleads/googleads-mob

Unity version: 2020.3.1 - 2020.3.6 Google Mobile Ads Unity plugin version: 6.0.0 Platform: iOS Platform OS version: n/a Any specific devices issue occurs on: n/a Mediation ad networks used, and the...

github.com

 

반응형
Posted by blueasa
, |

Tag 이름과 Branch 이름이 같으면 Push 할 때 Error가 난다.

 

[결론] Tag와 Branch 이름은 같게 만들지 말자..

 

 

[참조] jira.atlassian.com/browse/SRCTREE-1474

 

[SRCTREE-1474] Pushing Branch With the Same Name as a Tag Fails - Create and track feature requests for Atlassian products.

When a branch has the same name as a tag, it errors when pushing to origin. Steps to reproduce: Add a Git repository. Push to a remote. Create a branch (eg. stsp-420). Create a tag on master with the same name (eg. stsp-420). Push the created tag to the re

jira.atlassian.com

 

반응형
Posted by blueasa
, |

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
, |