2012-03-28 5 views
1

Heute habe ich die MCPConnection für mysql installiert.Symbol (e) nicht für Architektur gefunden i386 - MCPConnection

Ich habe gerade den Quellcode in meine App kopiert.

dann rufe ich den Code:

#import "MCPConnection.h" 

und arbeitete mit Saum:

MCPConnection *connection = [[MCPConnection alloc] initToHost:@"localhost" withLogin:@"root" usingPort:8889]; 

und Xcode geben Sie mir einen Fehler:

"_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) 

Was ich nicht zur Zeit?

(Xcode 4.4 DP2, Mountain Lion DP2)

Antwort

0

Das Problem ist sehr wahrscheinlich, dass das Projekt nicht den notwendigen Rahmen wird inklusive. Gehen Sie zu Ihrem Ziel -> Build Phases -> Link und vergewissern Sie sich, dass Sie dort das Framework haben, das MCPConnection enthält.

Verwandte Themen