【问题标题】:Brightcove implementation + unrecognized selector in iOSiOS 中的 Brightcove 实现 + 无法识别的选择器
【发布时间】:2014-12-16 10:20:29
【问题描述】:

在我的 iOS 应用程序中集成 Brightcove 库(4.2.1 版)时遇到了一个奇怪的问题。

    -(void) setupForBrightcove{
NSString *playlistID = [NSString stringWithFormat:@"%lld",self.playListID];
BCOVCatalogService *catalog = [[BCOVCatalogService alloc] initWithToken:VIDEO_TOKEN];

//Find Playlist
    [catalog findPlaylistWithPlaylistID:playlistID
                             parameters:nil
                             completion:^(BCOVPlaylist *playlist,
                                          NSDictionary *jsonResponse,
                                          NSError      *error) {
}];

}

我刚刚使用有效的播放列表 ID 和视频令牌运行了这么多代码。

它给了我以下错误:

-[__NSDictionaryM bcov_UTF8EncodedRequestParameterString]: unrecognized selector sent to instance 0x7a40f910

这里唯一的字典是jsonResponse。

有人可以帮忙吗? 谢谢。

【问题讨论】:

    标签: ios unrecognized-selector brightcove


    【解决方案1】:

    听起来您没有在 Xcode 项目构建设置中将 -ObjC 添加到“其他链接器标志”中。请务必完全按照installation steps 进行操作。

    【讨论】:

    猜你喜欢
    • 2012-04-06
    • 1970-01-01
    • 2014-02-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多