fethica / FRadioPlayer

A simple radio player framework for iOS, macOS, tvOS.

Home Page:https://fethica.github.io/FRadioPlayer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Car Play crash

himabinduach opened this issue · comments

Hello Fethica,

We have a music audio app which we built car play using your tutorial - https://blog.fethica.com/add-carplay-support-to-swiftradio/ . The app is working fine on simulator, but when tested on a real car, it crashed right after tapping the app icon on car dashboard. We have followed the same steps mentioned in the post above by extending the App Delegate with 'MPPlayableContentDelegate'. Do you have any suggestions why the app may crash in real time? Below is the thread that is causing the failure. Also, we are using Fradio player for our music app.

Please do the needful. Thank you

crashlog.pdf

Hello. You need the CarPlay entitlement from Apple. If is not set the app will crash.

https://developer.apple.com/documentation/carplay/requesting_the_carplay_entitlements?language=objc