Search code examples
chromecastxcode10ios12

Chromecast button missing on iOS 12 Xcode 10


We're using Google Chromecast SDK (google-cast-sdk) on our iOS Application over a year, but when I updated to iOS 12 and Xcode 10 button has disappeared.

Does anyone face the same issue before?


Solution

  • Here is the problem and solution

    Xcode 10 Warning: If developing using Xcode 10 and targeting iOS devices running iOS 12 or higher, the "Access WiFi Information" capability is required in order to discover and connect to Cast devices

    You need to ensure that the Access WiFi Information switch in the Capabilities section of the target is set to On.

    Access WiFi Information

    That's all you need!