shikha10 | Posts: 2

iOS Core Data error while login into the eSignLive

0 votes
Hey, I am integrating the OneSpan Sign iOS SDK into an Existing Project. I have done all the initial configuration but when I am doing login, app is getting crashed. It throws following error: CoreData: error: Cannot load NSManagedObjectModel. nil is an illegal URL parameter libc++abi.dylib: terminating with uncaught exception of type NSException This is the login method: eSignLive.dashboard().login(withEmail: email, password: password, andCallback: { dict in }) Can someone help me to resolve the issue? Why Coredata error is coming ? Thanks

mwilliams | Posts: 957

Reply to: iOS Core Data error while login into the eSignLive

0 votes
Hey shikha10, Apologies for the delay in response. We were looking into this and it appears you were not informed in this post that we were on top of it. From what I gather from our SDK developers is that your existing app may be built with a previous version of Xcode and possibly different build settings that may cause issues with some things. If you create a new project in the latest version of Xcode and copy your files over, it should solve the issue. Duo (a OneSpan Technical Evangelist) was able to reproduce the issue and creating a new project and copying over the files worked for him. Please give that a try and let us know!

shikha10 | Posts: 2

Reply to: iOS Core Data error while login into the eSignLive

0 votes
Hi Michael, I think issue is somewhere else. We are using following pods in our project and it seems to me that OneSpan iOS SDK is giving error due to that as these pods creates core data datamodel. I tried to integrate our podfile (see below) in OneSpan sample project and it stop working and gives compile time error. Can you make Onespan sample project working with these pods? I had changed deployment target to 10.0 and Swift language to 4 but nothing works. ############### POD FILE START ############################# source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' target 'Sample' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for LaurentApp pod 'Alamofire' pod 'SwiftyJSON’ pod 'SlideMenuControllerSwift' pod 'IQKeyboardManagerSwift' pod 'JVFloatLabeledTextField' pod 'FacebookCore' pod 'FacebookLogin' pod 'GoogleSignIn' pod 'SDWebImage', '~> 4.0' pod 'HCSStarRatingView', '~> 1.5' pod 'SwiftyStoreKit' pod 'XLPagerTabStrip', '~> 8.1' end ############### POD FILE END #############################

Duo_Liang | Posts: 3776

Reply to: iOS Core Data error while login into the eSignLive

0 votes
Hi shikha10, I used your Podfile and integrated with mobile SDK sample project, here's the link for google drive. And BTW, during my test, it seems that OSS mobile SDK was not yet compiled with XCode 10.2, so please don't upgrade your IDE for time being. Best, Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off