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

카테고리

분류 전체보기 (2857)
Unity3D (897)
Script (94)
Extensions (16)
Effect (3)
NGUI (81)
UGUI (9)
Physics (2)
Shader (43)
Math (1)
Design Pattern (2)
Xml (1)
Tips (204)
Link (26)
World (1)
AssetBundle (25)
Mecanim (2)
Plugins (87)
Trouble Shooting (71)
Encrypt (7)
LightMap (4)
Shadow (4)
Editor (12)
Crash Report (3)
Utility (9)
UnityVS (2)
Facebook SDK (2)
iTween (3)
Font (18)
Ad (14)
Photon (2)
IAP (1)
Google (12)
URP (5)
Android (54)
iOS (47)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (191)
협업 (64)
3DS Max (3)
Game (12)
Utility (142)
Etc (99)
Link (34)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (16)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (19)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday

FirebaseAuth로 Apple 로그인도 붙이고 있는데, 제목과 같은 에러가 나서 뭘 잘못했지 하고 찾다보니..

Xcode-Capabillities에서 SignInWithApple을 추가 하지 않았다.

[참조1]의 내용을 보고 코딩해놓고 주석처리 해놨던 부분 다시 추가함.

 

 

[참조1] https://coding-dahee.tistory.com/156

 

[React Native] Apple Login 애플 로그인 구현하기 / Sign in with Apple

😉 홍보 하나 하겠습니다! 성공적인 루틴 관리를 원하시나요? 지금 바로 스토어에서 "루빗"을 검색해보세요! [ 제가 직접 운영중인 어플입니다 :) ] 루빗 홈페이지 플레이스토어 앱스토어 ✨ 와

coding-dahee.tistory.com

[참조2] https://stackoverflow.com/questions/70734015/sign-in-with-apple-authorization-error-1000-unknown

 

Sign in with Apple: Authorization Error 1000 (Unknown)

I use "Sign in with Apple" using this package: https://pub.dev/packages/sign_in_with_apple I can login successfully on iPhone (real device) I can login successfully on iPad (real device)...

stackoverflow.com

 

 

반응형
Posted by blueasa
, |

pod 를 업그레이드 후에 pod install 시에 다음과 같은 경고 문구를 만날 수 있다.

[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.

 

이 이슈와 연관이 있다. git 기반의 MasterSource 대신 CDN 기반의 TrunkSource 로 변경되었기 때문. 하지만 BLM 과 관련 있는 듯.

이것도 Master 라는 용어를 사용하지 않기 위함?? github 에서 메인 소스 브랜치 이름이 master 에서 main 으로 변경된 것과 비슷한 이유인듯. 추정..

github.com/CocoaPods/CocoaPods/pull/8923

 

pod repo list 를 해보면 기존 git master ,  CDN trunk 두개가 존재하는 것을 볼 수 있다.

master
- Type: git (master)

- URL:  github.com/CocoaPods/Specs.git

- Path: /Users/thewavelet/.cocoapods/repos/master

trunk
- Type: CDN

- URL:  cdn.cocoapods.org/

- Path: /Users/thewavelet/.cocoapods/repos/trunk

 

경고 문구 대로

pod repo remove master

를 해서 master 는 지워주자.

 

 

[출처] https://thewavelet.tistory.com/49

 

cocoapods 업데이트 repo 변경사항. Git MasterSource 에서 CDN TrunkSource 로

pod 를 업그레이드 후에 pod install 시에 다음과 같은 경고 문구를 만날 수 있다. [!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as..

thewavelet.tistory.com

 

반응형
Posted by blueasa
, |

1. pod 삭제

pod deintegrate

2. pod 클린

pod cache clean --all

3. pod 설치

pod install

 

 

[출처] https://eloquence-developers.tistory.com/149

 

[React Native] iOS pod 삭제, 클린, 설치 명령어

1. pod 삭제 pod deintegrate 2. pod 클린 pod cache clean --all 3. pod 설치 pod install

eloquence-developers.tistory.com

 

반응형
Posted by blueasa
, |

Unity 2018.4.36f1

Xcode 13.4.1

 

[Error Message]

[Attribution] updatePostbackConversionValue returned error: 작업을 완료할 수 없습니다.(SKANErrorDomain 오류 10.).

 

 

iOS 빌드하고 실행에 별다른 문제는 없지만 위와 같은 에러가 떠서 뭔가하고 찾아봤는데,

Apple 측 답변으로는 에러메시지는 뜨지만 정상 동작하고 있다는 것 같다.

무시..

 

[참조]

Got an answer from Apple:

There has been an issue identified starting iOS 15.3, where the view through APIs may return an "unknown error", in cases when no error has actually occurred. In 15.3 that error is ASDErrorDomain:500. In 15.4 that error is now defined in the public SDK as SKANErrorDomain:SKANErrorUnknown (value 10). However, in those cases no functional error has actually occurred. The impression was recorded by the system.

We recommend that you ignore all errors of type ASDErrorDomain:500 / SKANErrorDomain:SKANErrorUnknown (value 10), as they are not real errors. The impression is recorded on the device regardless of those errors.

 

[출처] https://developer.apple.com/forums/thread/699442

 

SKAdImpression unknown 500 error | Apple Developer Forums

In iOS 15.3 method SKAdNetwork.startImpression() returns an error in completionHandler: MyTestApp(StoreKit)[560] : SKAdNetwork: Error in remote proxy while starting view-through impression: Error Domain=ASDErrorDomain Code=500 "SKAdNetwork: Unknown error"

developer.apple.com

 

반응형
Posted by blueasa
, |

[링크] https://hwangtaehyun.github.io/blog/react-native/ios-cycle-dependency-error/

 

Cycle in dependencies between targets ...

# ❎ 에러 발생 react-native project에서 ios프로젝트를 빌드 하다가 다음과 같은 에러를 만나게 되었다. > Cycle in dependencies between targets ... 왜 갑자기..? (나중에 생각해보니, 나도 모르게 뭔가 안되는

hwangtaehyun.github.io

 

반응형
Posted by blueasa
, |

Unity 2020.3.27f1

GoogleMobileAds-v6.1.2

GoogleMobileAds-FacebookUnityAdapter-3.6.0

 

[에러메시지]

Undefined Symbols for architecture arm64: "_OBJC_CLASS_$_GAD...

 

[해결방법]

Unity Editor-Menu-External Dependency Manager-iOS Resolver-Settings : Link frameworks statically 체크

 

[참조] https://newreleases.io/project/github/googleads/googleads-mobile-unity/release/v6.0.0

  - [GooglemobileAds  6.0.0] You need to enable "Link frameworks statically" in Unity Editor -> Assets -> External Dependency Manager -> iOS Resolver -> Settings, or else the GMA plugin does not work.

 

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

[펌]

Unity【iOS】「Undefined symbols for architecture arm64: _OBJC_CLASS_$_GADMediaView」エラーの対処法に関するメモ

 

Unityで開発したアプリをiOSでビルドした際に出たエラーの対処法がわかりづらかったのでメモ。

Xcodeでビルドした際に以下のエラーが出ました。

ld: warning: Could not find or use auto-linked framework 'AVFAudio'

Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_GADMediaView", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADRequest", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADNativeAdImageAdLoaderOptions", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADNativeAdViewAdOptions", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADBannerView", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADInterstitialAd", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADNativeAdView", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_kGADAdSizeMediumRectangle", referenced from:

      -[ALGoogleMediationAdapter adSizeFromAdFormat:withServerParameters:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADMobileAds", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_kGADAdSizeLeaderboard", referenced from:

      -[ALGoogleMediationAdapter adSizeFromAdFormat:withServerParameters:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADAdLoader", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:

      -[ALGoogleMediationAdapter adSizeFromAdFormat:withServerParameters:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

      +[ALGoogleMediationAdapter currentOrientationAchoredAdaptiveBannerSizeWithWidth:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADQueryInfo", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADExtras", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_kGADAdSizeBanner", referenced from:

      -[ALGoogleMediationAdapter adSizeFromAdFormat:withServerParameters:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_OBJC_CLASS_$_GADRewardedAd", referenced from:

      objc-class-ref in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

  "_kGADAdLoaderAdTypeNative", referenced from:

      -[ALGoogleMediationAdapter loadAdViewAdForParameters:adFormat:andNotify:] in AppLovinMediationGoogleAdapter(ALGoogleMediationAdapter.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

このエラーの厄介なところは、具体的にどんな対処をすればいいのかわからない点です。この部分でエラーが出ているよってことがわかればなおせますが、複数の要因により出ていると思われるエラーは修正することで泥沼にいっちゃうこともあるので慎重に対処するのが大事かなと思います。

 

 「Undefined symbols for architecture arm64: _OBJC_CLASS_$_GADMediaView」エラーに関する対処法

僕の環境では以下の方法で解決できました。(具体的なエラー原因がまだわかっていないので、上記のエラーが出た場合の対処法の一つ程度だと思ってもらえれば幸いです)

 

1.Unityで iOS ResolverのSettingsを開く

 

2.Link frameworks staticallyにチェックを入れる

3.iOSプロジェクトを出力して再ビルド

上記の方法でエラーが解消されました。

最近結構出るエラーなので、また発生したら今回のメモを参考にしたいと思います。

 

 

 

 

 お知らせ

謎解き推理ゲーム「イラスト探偵」を最近リリースしました!

もしよろしければダウンロードお願い致します!

 

[출처] https://develop.hateblo.jp/entry/unity-ios-error-build-arm64

 

Unity【iOS】「Undefined symbols for architecture arm64: _OBJC_CLASS_$_GADMediaView」エラーの対処法に関するメ

Unityで開発したアプリをiOSでビルドした際に出たエラーの対処法がわかりづらかったのでメモ。Xcodeでビルドした際に以下のエラーが出ました。ld: warning: Could not find or use auto-linked framework 'AVFAu

develop.hateblo.jp

 

반응형
Posted by blueasa
, |

[링크] https://ms-dev.tistory.com/104

 

[flutter] GoogleAppMeasurement requires CocoaPods version >= 1.10.2, which is not satisfied by your current version, 1.10.1. Err

해당 프로젝트의 ios의 pod를 업데이트 해주면 해결된다. [해결방법] 터미널을 열고 아래 명령을 순서대로 입력한다. 1) 해당 프로젝트의 ios 경로로 이동 #> cd [프로젝트 경로]/ios 2) pod 업데이트 실

ms-dev.tistory.com

 

반응형
Posted by blueasa
, |

[추가]

[Fixed] iOS: Fixed game objects' colors in light mode. (1379817)

2020.3.27f1 버전에서 해당 이슈가 수정되었다.

 

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

Unity 2020.3.21f1에서 Unity 2020.3.22f1으로 업데이트 하고나니 Android는 문제없는데, iOS에서 기존에 발생하지 않던 쉐이더 문제가 생겼다.

 

[증상] 기존에 검은 느낌이던 텍스쳐가 약간 회색빛이 나옴

아래 이미지에서 A이던 느낌이 B느낌이 남

그래서 Unity 2020.3.21f1으로 내리니 다시 정상동작 하는걸 확인했다.

링크 내용을 보니 iOS Dark Mode 관련 버그라고 한다.

 

현재 임시로 해결하는 방법은 iOS Info.plist에서 강제로 Dark Mode로 셋팅 하는 방법이 있다고 한다.

 

버그가 수정될 때까지 Dark Mode로 셋팅하거나, Unity 2020.3.21f1 이하 버전을 사용해야 될 것 같다.

 

 

 

[Unity 소스상에서 Info.plist 수정]

var projectPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj";
var plistPath = System.IO.Path.Combine(pathToBuiltProject, "Info.plist");
var plist = new PlistDocument();
plist.ReadFromFile(plistPath);

// [iOS15+Unity2020.3.22f1 이슈] Force Dark Mode(Automatic/Light/Dark) - Appearance
plist.root.SetString("UIUserInterfaceStyle", "Dark");

 

 

 

[Info.plist 수정 참조 링크] https://stackoverflow.com/questions/56537855/is-it-possible-to-opt-out-of-dark-mode-on-ios-13/64015200

 

Is it possible to opt-out of dark mode on iOS 13?

A large part of my app consists of web views to provide functionality not yet available through native implementations. The web team has no plans to implement a dark theme for the website. As such,...

stackoverflow.com

 

 

 

[출처] https://stackoverflow.com/questions/70239569/unity-shader-glitches-according-to-the-dark-mode-on-ios-15

 

Unity shader glitches according to the Dark Mode on iOS 15

I'm using a shader (code below) which allows me to turn an image color into a grayscale (with transparency if needed). Everything was perfect until I updated my device to iOS 15. Since that update,...

stackoverflow.com

 

반응형
Posted by blueasa
, |

[링크] https://violentjy.tistory.com/95

 

[iOS Archive] conflicting provisioning settings 어쩌구

아!!!!!!!!!!!!! 넘 화난당!!!!!!!!!!!!!!!!!!! TestFlight 연동을 해야하는데, App store 에 build 올리는 거에 대해 정리된 문서를 보다가 영어 문장을 너무 대충 읽어서 "니 앱이 적절한 Bundle ID를 가지고..

violentjy.tistory.com

 

[링크] https://phillip5094.github.io/ios/unity/Unity-iPhone-has-conflicting-provisioning-settings-%ED%95%B4%EA%B2%B0/

 

Unity-iPhone has conflicting provisioning settings 해결방법

2020.05.30

phillip5094.github.io

 

 

 

반응형
Posted by blueasa
, |

[링크] https://dev.classmethod.jp/articles/xcode-no-signing-certificate-ios-development-found-error/

 

[Xcode] アプリをArchiveしようとして「No signing certificate “iOS Development” found」エラーになった場合

App Storeに申請するためにアプリをArchiveしようとしたら 「No signing certificate "iOS Development" found」 という署名証明書のエラーが出てしまいました。 本記事ではこのエラーが起きた場合の解決方

dev.classmethod.jp

 

반응형
Posted by blueasa
, |