Closed catjia1011 closed 6 years ago
Same here... No Fix for that?
I had the same issue, swift project with piwik added via pod file. The problem was with the location of of the xcdatamodel file. This change in PiwikTracker.m fix the problem "NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"/Frameworks/PiwikTracker.framework/piwiktracker" withExtension:@"momd"];"
@mattab you hav fix for that? i'm using cocoa pod and piwik v3.6.0 Getting this error: CoreData: Cannot load NSManagedObjectModel. nil is an illegal URL parameter
That was the error I had. Just change the location of the modelURL in PiwikTracker.m - then you must make note of the change un case you update the pod.
@DaliborK okay thanks.
i fixed by adding resource path on the Pods-Knotalk-resources.h
install_resource "PiwikTracker/PiwikTracker/piwiktracker.xcdatamodeld"
Hi, is the way to fix this crash without modifying Pod? @MishraVikas1 Could you explain in more details how do you fix that?
Hi, there is a coredata file in piwik. Add it to bundle resources. Thanks & Regards Vikas Mishra
FYI: we the Piwik team are looking for a maintainer for the iOS SDK. if you can help please comment here #91 - we need you!
When you implement Piwik as static library not as pod, then this error doesn't occur. I know a static library has cons, but in my case this is the better solution.
Since this is a stale discussion and the new SDK doesn't need any Core Data anymore I will close this issue for now.
Had same problem for second target. Add piwiktracker.xcdatamodeld to compile resources
Hi, when we integrated piwik, we came into a problem that some users will crash when they launch the app. Attached is the info from Crashlytics. Hope it can be fixed and there is a new release of Piwik. Thanks!
p.s. We are using 3.3.0, which is released on May.30
Crash reports.txt