본문 바로가기
반응형

SWIFT14

[iOS&Swift] 버그&이슈 (Asset validation failed Invalid bundle) 이슈 상황 Asset validation failed Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen.storyboard launch storyboard file in your "패키지 이름" bundle. Use UILaunchScreen instead if the app’s MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see: https://developer.apple.com/documentation/bundlere.. 2024. 3. 26.
[iOS] ScrenDelegate 와 Appdelegate에서 navigationViewcontroller 호출하기 딥링크를 사용하여 동작을 할 경우 AppDelegate나 ScrenDelegate에서 ViewController를 호출해야 할 경우가 있습니다. 이때 NavigationController를 호출하는 방법을 알아 보겠습니다. 1. UIWindow의 rootViewController가 UINavigationController인 경우 앱의 rootViewController가 UINavigationController인 경우, 직접 접근할 수 있습니다. if let navigationController = self.window?.rootViewController as? UINavigationController { // navigationController 사용 } 2. UITabBarController를 사용하는.. 2024. 2. 8.
[iOS/Swift]OneLink 적용 및 테스트 방법 firebase의 dynamicLink가 2025년 8월 25일을 기점으로 종료가 된다고 합니다. 그래서 이번에 새로 개발하는 앱에는 OneLink를 적용을 해보았고, 시행착오를 공유하려 합니다.(이 글에서는 마케터 관점이나 appsflyer 설정보다 개발자 적인 관점에서 세팅해주는 방법에 대해서 적어보려 합니다.) 1. OneLink란? OneLink란 간단하게 Appsflyer에서 제공하는 dynamicLink같이 설치나 딥링크 등의 기능을 해주는 링크를 말합니다. 2. 세팅방법 1. Certificaties, Identifiers & Profiles 설정 우선 apple developer 의 Certificaties, Identifiers & Profies에 접속해서 Identifiers에 항목에 .. 2024. 2. 8.
[iOS/Swift]Decoding Error(The data couldn’t be read because it is missing) firebase를 사용하여 데이터를 가져올 경우 제목가 같은 에러를 확인할 경우가 있습니다. 제목에서 보여준 에어인 The data couldn’t be read because it is missing 은 존재하지 않은 데이터가 있어서 파싱을 할 수 없을 경우 나타나는 에러입니다. 이 경우 어떻게 처리하는지 알아보도록 하겠습니다. 1. 에러가 나는 예제 저 같은 경우에는 firebase의 storage를 사용하여 데어트를 관리하는데 그중 문서(document)에 존재하는 필드가 추가될 경우 이전의 존재하는 문서(document)에 필드가 추가되지 않았고, 그 추가되지 않은 문서를 호출하여 decoding 할 경우 위와 같은 error를 확인하게 되었습니다. 예를 들어 아래 코드처럼 사용자 정보 문서를 여.. 2024. 1. 15.
반응형