Start a new topic
Answered

Compile time error in Kinvey framework

Included pod for Kinvey(pod 'Kinvey') inside Podfile. 

After doing pod install getting compile time error for Kinvey saying 

'self' used before self.init call. in Query.Swift file.

PFA screeshot error.

Attached screenshot for the same - 

image


Best Answer
Pranita,

Just pasting your FD ticket response here to complete the loop.

"Actually, pod install was not allowing me to update Kinvey SDK version from 3.3.1 onwards, But,


I did the following steps in my project workspace and was able to update the SDK version to latest one: 

Converted the entire code to swift by - 
Edit -> Convert -> To current Swift syntax

Updated the deployment target to 9.0 in my project.

And fired the 'pod update' command.

All these steps result out to installation of Kinvey SDK for 3.4.0 version. 

Thanks for your reply, appreciated !!! :)
"


Thanks,
Pranav
Kinvey

 


Answer
Pranita,

Just pasting your FD ticket response here to complete the loop.

"Actually, pod install was not allowing me to update Kinvey SDK version from 3.3.1 onwards, But,


I did the following steps in my project workspace and was able to update the SDK version to latest one: 

Converted the entire code to swift by - 
Edit -> Convert -> To current Swift syntax

Updated the deployment target to 9.0 in my project.

And fired the 'pod update' command.

All these steps result out to installation of Kinvey SDK for 3.4.0 version. 

Thanks for your reply, appreciated !!! :)
"


Thanks,
Pranav
Kinvey

 

Pranita,

  1. Did you get any issues while installing pod? Please send me the screenshot of pod install.
  2. Can you let me know the steps to reproduce?
  3. What version of the Xcode are you using?

 

Thanks,

Pranav

Kinvey

1. Did you get any issues while installing pod? Please send me the screenshot of pod install.

- No issue while installing the pod, Kinvey (3.3.1) got successfully installed, attached the log file for the same.


2. Can you let me know the steps to reproduce?

-
 a. I just fired the 'pod install' command in my project source code directory and 

 b. Opened the respective workspace file through Xcode.
 c. On building the entire project, getting an error for Kinvey saying  'self' used before self.init call 
 in Query.Swift file.


3. What version of the Xcode are you using?
- Xcode is of Version 8.2.1.

txt
Pranita,

Thanks for providing this information. I will review it and get back to you asap.

Thanks,
Pranav
Kinvey

 

Login or Signup to post a comment