Open davidchiles opened 9 years ago
I pulled the latest changes into a fork and that seemed to fix the issue.
Maybe update the podspec?
ugh. I am not using myself this project since some time, so maybe something broken in the meanwhile. This seems to be the culprit: https://github.com/davidchiles/SpatialDBKit/commit/cffcdc8d73344d96f2ce4b1aeaad89109c7b5d02
I will integrate it ASAP, thank you for pointing it out!
But it still does not work. You must use the file 'spatialDatabase.m' in the example project to replace the corresponding file in your project.Then you will see that it works!
但是它仍然不起作用。 您必须在示例项目中使用文件'spatialDatabase.m'来替换项目中的相应文件,然后您会看到它起作用了!
Hi, I did as you said, but still reported this error, can you direct me? I use swift5 and xcode11.
When I use the SpatialDBKit added by cocoapods, I first report an error of "cstddef" I can't find it. I will go to geo_ c.h . The program starts to crash when it runs. I want to get help. I use swift5 and Xcode 11
I made a completely new project to make sure.
Steps
pod install
main.m
tomain.mm
87
ofspatial.c
with#include <spatialite/spatialite/spatialite.h>
#import <spatialite.h>
toSpatialDatabase.m
because of build errorsAppDelegate.m
Result
Crash on line
114
ofspatialite_init.c
EXC_BAD_ACCESS