Posts

Post not yet marked as solved
6 Replies
I have the exact same issue as you, did you make any progress with this?We built our CarPlay media app using Xcode 10 and tested it on both an iOS 12.4 simulator and on a physical iOS 12.4 device using a physical in-car infotainment system. We had no issues with iOS 12.4 and the app worked perfectly. We then upgraded our project to build using Xcode 11.1 so we could have iOS 13.1 simulators. Without changing any of the CarPlay code we cannot get the app to run using the iOS 13.1 iPhone simulator with the CarPlay "external display" screen.I looked into the code and its the same as you, the beginLoadingChildItemsAtIndexPath() function is never called on iOS 13.1, so nothing loads in our CarPlay app. In iOS 12.4 it is called. Hopefully this will be fixed soon or we get an idea what to change to use CarPlay and iOS 13.1UPDATE 1:I tested our CarPlay app on iOS 13.2 with a physical iPhone device in-car and it worked fine. So maybe it's just an iOS 13.1 issue.UPDATE 2:I updated to Xcode 11.2 and tested our CarPlay app on an iOS 13.2 iPhone simualtor. Unfortunately it's still the same as iOS 13.1 simulator, the app doesn't load. The beginLoadingChildItemsAtIndexPath() function doesn't get called when using the iOS 13.2 iPhone simulator. I have created a bug report with Apple about the issue.UPDATE 3:Got a reply from Apple after I submitted a bug report. The respose is not entirely helpful as I am providing content to MPPlayableContentManager. I'm not going to pursue this any further with them. Here's Apple's response:"We need a sysdiagnose and, ideally, some sample code reproducing the issue please.beginLoadingChildItems() is just a hint to the app to start prefetching content, in the event that the user taps a row. Instead, it seems more likely that the client app is not providing any content to MPPlayableContentManager."