今天我为mysql安装了MCPConnetion。
我只是将源代码复制到我的应用程序中。
然后,我调用代码:
#import "MCPConnection.h"
并与下摆一起工作:
MCPConnection *connection = [[MCPConnection alloc] initToHost:@"localhost" withLogin:@"root" usingPort:8889];
和 Xcode 给我一个错误:
"_OBJC_CLASS_$_MCPConnection", referenced from:
Objc-class-ref in DetailViewController.o
Symbol(s) not found for architecture i386
Linker command failed with exit code 1 (use -v to see invocation)
我目前没有什么?
(Xcode 4.4 DP2,山狮 DP2)