ジャガーノートココアを使ってみた
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)
返信ありがとう