Я попытался с помощью Джаггернаут какао:Джаггернаут какао для iphone порывает с Apple, Mach-O компоновщика (ID) Ошибка
https://github.com/fpotter/juggernaut-cocoa
Добавлена эта строка в мой код:
JuggernautClient *client = [[JuggernautClient alloc] initWithHost:@"myhost" port:1740];
[client subscribe:[NSString stringWithFormat:@"/reports/%@/new", current_unit.unit_id]];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(didReceiveMessage:)
name:JuggernautDidReceiveMessageNotification
object:nil];
И я получаю следующие ошибки:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_JuggernautClient", referenced from:
objc-class-ref in MapViewController.o
"_JuggernautDidReceiveMessageNotification", referenced from:
-[MapViewController viewDidLoad] in MapViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
благодарность за ответ