Start a new topic
Answered

Kinvey SDK Cocoapod installation not working.

Hello,


I'm trying to incorporate the Kinvey SDK into my app using Cocoapods. I read that a manual install is recommended, but I really prefer cocoapods to get easy dependency updates, better dependency visibility / management, etc.



Anyways, here are the steps i took:

1. Added the following line to my Podfile

pod 'Kinvey'

 2. Run `pod repo update & install` 


  

pod repo update
pod install

 

3. Try to build my project



When I try to build my project, I get the following error:

 

ld: framework not found Realm for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

What's going on? 


Thanks,

Julien


Best Answer

Hey Julien,


I created new project in Xcode for testing Kinvey iOS SDK installation through Cocoapods. Following is the podfile content:


target 'testPod' do
use_frameworks!
pod 'Kinvey'
end


Then I tried "pod install" from the terminal and Kinvey SDK was successfully installed. Once the installation was completed, I ran "pod update" and few dependencies were updated to the latest.


In the end, I opened ".xcworkspace" file of my project and built the project. I didn't get any errors. I am not able to reproduce the issue mentioned by you.


Please review all the steps mentioned above and let me know if it solves your issue.




Thanks,

Pranav

Kinvey

1 Comment

Answer

Hey Julien,


I created new project in Xcode for testing Kinvey iOS SDK installation through Cocoapods. Following is the podfile content:


target 'testPod' do
use_frameworks!
pod 'Kinvey'
end


Then I tried "pod install" from the terminal and Kinvey SDK was successfully installed. Once the installation was completed, I ran "pod update" and few dependencies were updated to the latest.


In the end, I opened ".xcworkspace" file of my project and built the project. I didn't get any errors. I am not able to reproduce the issue mentioned by you.


Please review all the steps mentioned above and let me know if it solves your issue.




Thanks,

Pranav

Kinvey

Login or Signup to post a comment