뜬금없이 iOS 14를 배포하더니 이럴줄 알았다.
iOS 14로 업데이트를 한 이후 Enterprise로 배포한 앱이 실행되지 않았다.
didFailToRegisterForRemoteNotificationsWithError 에서
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)가 뜨더니.. 모든것은 이게 원인이였다.
developer.apple.com/forums/thread/660648
ios14 "Notifications are not allow… | Apple Developer Forums
Hello. After the ios14 update, there was a problem that the application I distributed did not request notification permission. In ios 13.7 version, notification permission is normally requested, but the device that has updated ios 14 does not request notif
developer.apple.com
푸시 알림 앱 같은 경우에는
Asking Permission to Use Notifications을 해야하는데 그 부분이 실행이 되지 않아 앱이 강제 종료되었다.
이유는..다름아닌 Product_Name이 한글로 되어있어서 그랬던것!!
무슨 이유에서인지는 모르겠지만 Build Settings - Packaging - Product Name에 들어가서 영어로 바꾸어주면 된다.
진짜 어처구니가 없다..
나같이 사내 앱 배포하시는 분들은 참고하시길..
'iOS 앱 개발 > 앱 개발 중 깨달음' 카테고리의 다른 글
Could not build Objectivie-C module 'Firebase' (0) | 2020.06.04 |
---|---|
Enterprise(in-house) 앱 배포 후 업데이트 시 "(null)의 번들id와 같아 설치할 수 없습니다." (0) | 2020.05.12 |
iOS App 아이콘이 Multitasking View에 제대로 적용이 안되는 현상 (0) | 2020.05.08 |
Enterprise 계정으로 in-house App 배포 시 "앱을 설치할 수 없습니다, 나중에 다시 시도하세요" (0) | 2020.05.08 |
How to use CocoaPods? (0) | 2019.08.29 |