I want to ask about KNYDatabaseAPI iOS

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi,

When I try to build my app. And it show error like screenshot below **Image removed for security reasons**

My app is forced close because symbol not found KNYDatabaseAPI. referenced from CMS.framework. What is that? And if you know how to solve this? I really need help for solve this issue. I am so confused.

Thank you . :)

Hi @Owen Hvwdvcwe​

Can you please the below before come back with our analysis,

From Visualizer

i) Edit-> manage Native Function API(s)

ii) Delete Kony_syncV2 framework for iOS 10.0 if exists.

And

1)Go to Visualizer --> Edit --> Manage Native function API --> Check KonySDKCommons framework for iOS11 is enabled or if disabled then enable it.

2) Please clean the build in Visualizer

3) Goto your VMAPPWithKonyLib project and delete the VMAPPWithKonyLib from the project in your workspace.

4) Then now try to build the app again and run the application in Xcode .

Hi @Twvcey Rvndvll​ ,

I have Kony_syncV2 for iOS 11.0. So is it deleted?

**Image removed for security reasons**

Hello @Owen Hvwdvcwe​

You have expected frameworks enabled in your Visualizer to do clean build and follow the below steps.

1)Go to Visualizer --> Edit --> Manage Native function API --> Check KonySDKCommons framework for iOS11 is enabled then disable the framework and re enable it.

2) Please clean the build in Visualizer

3) Goto your VMAPPWithKonyLib project and delete the VMAPPWithKonyLib from the project in your workspace.

4) Then now try to build the app again and run the application in Xcode .

Still the issue persist, share the Visualizer console logs.

Hi @Twvcey Rvndvll​ ,

I have followed your instructions and it still crash or force close on app.

Here is the logs from devices and Visualizer console logs.

Hi @Twvcey Rvndvll​,

I found the solution to resolve this issue.

I replace CMS.framework with my old CMS.framework (from backup) and I try to run again it's not crashed or force close anymore.

On my opinion (CMIIW), this is caused my current CMS.framework is pulled from my friend that use Kony V8 service pack 3 and I use Kony V8 service pack 2. Maybe it make CMS.framework is not compatible (Maybe). Is that possible sir?

Hi @Owen Hvwdvcwe​

This could be possible because the CMS framework from 8.3 has some enhancement and those enhancements not available in 8.2 visualizer and it's not compatible. Thank you for sharing your findings to resolve the problem.