You need to sign in to do that
Don't have an account?
[zkSforce] Can't link an empty Cocoa-app ("Symbol not found "_objc_msgSendSuper2")
Hi,
when "Build and Run" of an "empty" Cocoa-app I receive a linker error: "Symbol not found "_objc_msgSendSuper2".
See screenshot: http://skitch.com/tschloss/d1y77/cocoa-app-build-results
What have I done :
- In Xcode3.2 (under 10.6) I generated a new project of template "Cocoa Application"
- I added all the -h/-m files of the zkSforce package ("via project add...")
- In the project properties I added "/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2" to the "Header Search Paths"
- In the "Targets" section of the project explorer I added "libxml2.dylib" to the "Link Binary With Libraries" (screenshot http://skitch.com/tschloss/d1nf4/vorschau)
Update and another situation:
When changing the project to work against 10.5/Debug/X86_64 instead of 10.6/../.. the above error went away!
I then got a different error in the auto created appDelegate, where the compiler misses the @protocol specification in this line:
@interface cocoa_appAppDelegate : NSObject <NSApplicationDelegate> {
But this happened equally in an brand new project after changing the target SDK to 10.5
For sake of a little test I deleted the <protocol> requirement and the build finished without issues. So this is not a problem related to zkSforce.
But why does zkSforce show issues when working against 10.6 SDK? (this missing symbol from the top of my post).
Any ideas?
Thanks in advance
Thomas