14 Replies
      Latest reply on Jan 14, 2020 9:13 AM by toinou
      Arnfried Griesert Level 1 Level 1 (10 points)

        Can someone explain how to use the CarPlay simulator in Xcode 11 GM? Maybe I am doing something wrong.

        In the simulator I choosed hardware->external displays and then a small rectangle window appears. But the screen stays black. My goal is to start the iOS app in the simulator and see the CarPlay screen in this window side by side.

         

        In the internet I saw a video where this simulator scenario was working. But I get only the black screen and an iPhone simulator with no CarPlay option in the settings.

         

        Some people write you must enter first some commands in the terminal window before you can use the CarPlay simulator. I am not sure if this is still neccessary in Xcode 11 but here is what I used in terminal:

         

        defaults write com.apple.iphonesimulator CarPlay -bool YES

        defaults write com.apple.iphonesimulator CarPlayExtraOptions -bool YES

        defaults write com.apple.iphonesimulator CarPlayProtocols -array-add com.brand.carplay.feature

         

        Must I request first the MFI profile from apple when you test only in the simulator? Or does CarPlay simulator not work in Xcode 11 because I saw another thread in the developer forum where someone said he gets also the black screen.