1
今天我安裝了用於mysql的MCPConnetion。未找到架構i386的符號 - MCPConnection
我剛剛將源代碼複製到我的應用程序。
然後,我調用代碼:
#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)