SolvedXCDYouTubeKit When playing certain videos, we get error XCDYouTubeVideoErrorDomain

Since 10 PM June 22nd, when playing certain videos, we get error. Example video ID: 9WbCfHutDSE

JavaScript exception: TypeError: undefined is not an object
2016-06-22 22:50:45.449036 Musictrax[790:69034] [XCDYouTubeKit] Video operation finished with error: This video contains content from VEVO. It is restricted from playback on certain sites. Watch on YouTube
Domain: XCDYouTubeVideoErrorDomain
Code: 150
User Info: {
AllowedCountries = "{(\n "Macau (China)",\n Hungary,\n Vietnam,\n "New Caledonia",\n Burundi,\n Andorra,\n "Pitcairn Islands",\n Guinea,\n "Norfolk Island",\n Togo,\n Eritrea,\n Zambia,\n China,\n Syria,\n Mongolia,\n Thailand,\n Netherlands,\n "French Guiana",\n India,\n Sudan,\n Nicaragua,\n Tanzania,\n Algeria,\n Grenada,\n Venezuela,\n "Dominican Republic",\n Turkey,\n "New Zealand",\n Serbia,\n Japan,\n Monaco,\n Finland,\n Paraguay,\n Lithuania,\n Suriname,\n Dominica,\n Mauritania,\n Armenia,\n Panama,\n "St. Martin",\n Guernsey,\n Cambodia,\n "Western Sahara",\n Azerbaijan,\n Gabon,\n Macedonia,\n Tonga,\n Bhutan,\n Lebanon,\n "Sval
2016-06-22 22:50:45.449636 Musictrax[790:68456] Error from XCD when playing videoID: 9WbCfHutDSE

: This video contains content from VEVO. It is restricted from playback on certain sites. Watch on YouTube

19 Answers

✔️Accepted Answer

Until #258 is merged you can use my solution this way:

pod 'XCDYouTubeKit', :git => 'https://github.com/k06a/XCDYouTubeKit.git', :branch => 'patch-1'

Other Answers:

Yeah I'm getting that too. Error -2 as well when playing some non vevo videos. Damn

More Issues: