Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when click on Playable Item from list #3

Closed
divyesh008 opened this issue Sep 24, 2020 · 6 comments
Closed

App crashes when click on Playable Item from list #3

divyesh008 opened this issue Sep 24, 2020 · 6 comments

Comments

@divyesh008
Copy link

divyesh008 commented Sep 24, 2020

I have implement CarPlay for my audio app using this sample. I have 2 issues.

  1. List is showing different Title and SubTitle then what is actually provided
  2. When I click on list item in CarPlay simulator my MPPlayableContentDelegate's InitiatePlaybackOfContentItem() method gets call but then app crash.

Crash message:
Assertion failure in void _MPInitiatePlaybackCallback(MRMediaRemoteIndexPath, void *)_block_invoke(), /Library/Caches/com.apple.xbs/Sources/MediaPlayer_Sim/MobileMusicPlayer-4017.700.3/SDK/MPPlayableContentManager.m:722

Screenshot 2020-09-24 at 4 37 20 PM

@divyesh008 divyesh008 changed the title App crashes when click on Playable Item App crashes when click on Playable Item from list Sep 24, 2020
@Suplanus
Copy link
Owner

The example is not finished yet. Sorry.
If I have time I will post the complete code.

@divyesh008
Copy link
Author

divyesh008 commented Sep 24, 2020

@Suplanus Please can you post the complete code?? It would be really helpful

@Suplanus
Copy link
Owner

Sorry, there is no time for it...

@Suplanus
Copy link
Owner

Suplanus commented Oct 1, 2020

@divyesh008 I commited a working example

@Suplanus Suplanus closed this as completed Oct 1, 2020
@divyesh008
Copy link
Author

@Suplanus I have got the solution already, but thanks for update

@Suplanus
Copy link
Owner

Suplanus commented Oct 1, 2020

Great. Perhaps you can enhance the demo.

Have you catched the connecting event #1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants