Start a new topic
Answered

Real Newbie Question

Hi


I am really struggling to get started with the Kinvey SDK in my project, I followed the manual method after trying the cocoapod installation but regardless of whatever method I use, I keep on running into the same issues:-


My project compiles fine if I don't use any of the Kinvey libraries but once I add in the following to my AppDelegate's didFinishLaunchingWithOptions I get the following compilation errors:-


Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_WKWebView", referenced from:
      objc-class-ref in KinveyKit(KCSMICLoginViewController.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

Any advice is greatly appreciated


Best Answer

Thanks for sharing your observations Joel.  I don't think that anyone else has run into this issue, but with a lot of people coming over from Parse it will likely be helpful to someone importing an existing project.

 

Enjoy your afternoon,


Answer

Thanks for sharing your observations Joel.  I don't think that anyone else has run into this issue, but with a lot of people coming over from Parse it will likely be helpful to someone importing an existing project.

 

Enjoy your afternoon,

OK so I think I worked this out, it turns out that I had to include the optional framework

 

WebKit.framework

 

I had two listed to choose from in Xcode so I went for the one that was not private in case there would be an issue submitting to the App Store.


I then got lots of dSYM compiler warnings but by setting "Debug Information Format" to "DWARF" as opposed to "DWARF with dSYM file" it looks like I am good.


Hopefully this will help someone else that runs into this. Interestingly I did not have these issues with a new project, they only occurred when I tried to add Kinvey to an existing project I have been working on for some time.

Login or Signup to post a comment