iOS 18 widget tint mode 적용 방법(기존 코드 바꾸지 않고 적용하기)
공부방/iOS2024. 10. 21. 16:15iOS 18 widget tint mode 적용 방법(기존 코드 바꾸지 않고 적용하기)

iOS 18 이후부터 위젯을 사용자화 시켜 Tint 모드를 적용할 수 있어요. 따라서 기존 다크모드 라이트모드만 적용시켜 놓은 앱들은 지정된 색상과 다른 색상이 표현되어,제대로 위젯이 표현되지 않을 수 있어요. 오늘은 어떻게 마이그레이션 할지 같이 알아보아요.2024/10/21 일 iOS 18.0.1 기준이에요. 본론부터 바로 넘어갈게요!!!WidgetConfiguration 프로토콜 부분에 .containerBackgroundRemovable(false)해당 옵션을 설정해 주면 원래 색상에 틴트가 적용되어 아주 잘 보여요. 예시)struct create_view: Widget { let kind: String = "CalendarWidget" var body: some WidgetConfig..

Flutter ios build error (Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_dynamic_links.FLTFirebaseDynamicLinksPlugin')
공부방/Flutter2024. 10. 18. 13:40Flutter ios build error (Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_dynamic_links.FLTFirebaseDynamicLinksPlugin')

2024/10/18 기준 메모. XCode 16 업데이트 후 iOS빌드를 하면 아래와 같이 오류가 발생해요. Failed to build iOS appLexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_dynamic_links.FLTFirebaseDynamicLinksPlugin': '/Users/gangjeongu/Documents/FlutterProject/signal-app/ios/Pods/Headers/Public/Firebase/Firebase.h'/Users/gangjeongu/.pub-cache/hosted/pub.dev/firebase_dynamic_links..

공부방/iOS2024. 10. 16. 13:07iOS build error 메모 (Undefined symbol: __swift_FORCE_LOAD)

메모용도 글이에요. 아래는 에러 내용. 모든 방법을 찾아봤지만 해결방법이 나오지 않아 XCode version 을 15.4 -> 16.0 으로 바꾸니까 잘 동작 함Failed to build iOS appError (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_Builtin_float Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_errno Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_math Error (Xcode): Undefined symbol: __swift_FORCE_LOAD_$_swift_signal Error (Xcode..

Codemagic에서 github private repository 접근 설정 방법
공부방/Infra2024. 10. 14. 14:36Codemagic에서 github private repository 접근 설정 방법

Codemagic 사용시 아마 dependency에 private repository 에 직접 접근하여 사용하는 케이스도 있을 거에요.우리가 사용하는 프로젝트도 그 중 하나인데, Codemagic에서 동작 가능한 몇가지 방법을 소개 할게요. 1. PAT (Personal access tokens)를 이용한 방법 git login -> Settings -> Developer settings -> Personal access tokens -> Tokens(classic) -> Generate new token 클릭!->  Generate new token (classic) For general use 클릭! -> Note 부분에 필요한 내용 입력, 만료시간(Expriration) 설정, admin:org 에..

공부방/Flutter2024. 9. 21. 21:43Flutter Splash 무한 로딩 (cancelDraw null isViewVisible: true)

어느 순간 Flutter 앱을 켜면 앱이 무한 로딩 하면서 아래와 같은 로그를 뿜어낸다.I/ViewRootImpl@741b7c0[MainActivity]( 8839): [DP] cancelDraw null isViewVisible: trueI/ViewRootImpl@741b7c0[MainActivity]( 8839): [DP] cancelDraw null isViewVisible: trueI/ViewRootImpl@741b7c0[MainActivity]( 8839): [DP] cancelDraw null isViewVisible: trueI/ViewRootImpl@741b7c0[MainActivity]( 8839): [DP] cancelDraw null isViewVisible: trueI/ViewRoo..

image