崩溃[__ NSCFConstantString gck_matchesPattern:]

时间:2013-08-05 16:50:33

标签: ios google-cast

当您自己创建Chromecast iOS应用程序而不是从cast-ios-sample复制时,它会崩溃,因为该框架会引发未捕获的异常。

[__NSCFConstantString gck_matchesPattern:]: unrecognized selector sent to instance 0x1c99c

2 个答案:

答案 0 :(得分:2)

在Xcode中为目标应用的Build Settings中的“Other Linker Flags”添加“-ObjC”,就像示例应用程序一样。

答案 1 :(得分:2)

在目标部分添加 -all_load - > 其他链接标记