iOS 앱 개발/앱 개발 중 깨달음

iOS 14 업데이트 이후 (푸시 알림 기능이 포함된)Enterprise 배포앱이 실행이 안되는 이슈

mostlyjinsonit 2020. 9. 22. 14:31
반응형

뜬금없이 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에 들어가서 영어로 바꾸어주면 된다.

 

진짜 어처구니가 없다..

 

나같이 사내 앱 배포하시는 분들은 참고하시길..

 

 

반응형