【问题标题】:App crash on Reactive Cocoa subscribe [UIButton rac_signalForControlEvents:]Reactive Cocoa 订阅上的应用程序崩溃 [UIButton rac_signalForControlEvents:]
【发布时间】:2016-10-06 17:37:28
【问题描述】:

在调用 uibutton 时在订阅方法上应用程序崩溃并在堆栈中给出以下错误。

   ncaught exception: +[NSDate act_secondsSince1970]: unrecognized selector sent to class 0x10dd06e08
   2016-10-06 23:05:36.594 Mamabear[32867:217553] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
   2016-10-06 23:05:36.773 Mamabear[32867:217563] CoreData: warning: Unable to load class named 'GAIProperty' for entity 'GAIProperty'.  Class not found, using default NSManagedObject instead.
   2016-10-06 23:05:36.774 Mamabear[32867:217563] CoreData: warning: Unable to load class named 'GAIHit' for entity 'GAIHit'.  Class not found, using default NSManagedObject instead.
   2016-10-06 23:05:37.701 Mamabear[32867:217449] -[UIButton rac_signalForControlEvents:]: unrecognized selector sent to instance 0x7f81a296c850
    libc++abi.dylib: terminate_handler unexpectedly threw an exception

(lldb)

应用程序在该行崩溃。见下文:

    [[_loginButton rac_signalForControlEvents:UIControlEventTouchUpInside]
 subscribeNext:^(id x) {
     [[MBAnalyticsHTTPClient sharedClient] capture:[AnalyticsModel initWithContext:@"welcome_to_mamabear" action:@"log_in_as_guardian"]];
}];

【问题讨论】:

    标签: ios objective-c reactive-cocoa


    【解决方案1】:

    请检查构建设置中的库搜索路径。

    【讨论】:

    • 谢谢,我会尝试更改搜索路径设置。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多