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
D
Damien Bell
said
almost 5 years ago
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.
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.
Damien Bell
said
almost 5 years ago
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.
Joel Greensite
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:-
Any advice is greatly appreciated
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,
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstJoel Greensite
OK so I think I worked this out, it turns out that I had to include the optional 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.
Damien Bell
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,
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics