Closed MuZiLee closed 2 years ago
@Lojii @MuZiLee 同样问题,请大神求解,非常谢谢!
需要设置App Group,数据库是通过App Group在主程序与NetworkExtension之间实现共享的,没有设置App Group会找不到对应的数据库和table
@Lojii 我有设定,但不确定哪里设置错误,请前辈教导指正
TunnelServices/MitmService.swift 里16行,也需要修改下
TunnelServices/MitmService.swift 里16行,也需要修改下
修改后问题仍然存在
TunnelServices/MitmService.swift 里16行,也需要修改下
修改后问题仍然存在
TunnelServices/MitmService.swift 里16行,也需要修改下
修改后问题仍然存在
应该是nio.db 中的session表没有创建,我也遇到这个问题了。好像不是AppGroup的问题
group设置 修改过也是一样的问题,
@Lojii 大佬有空解答一下疑惑
需要检查 providerBundleIdentifier
属性是否是自己修改的,把这个配置一下就 OK 吧
@Lojii 大佬有空解答一下疑惑
这个问题你解决了吗
@Lojii 大佬有空解答一下疑惑
这个问题你解决了吗
看了下代码,因为数据库没有建表引起的
在AppDelegate加入28行暂时解决,暂时未发现副作用,希望作者大大可以解决下~
getAll error:no such table: session (code: 1)
@orangeboyChen 虽然不报错了, 还是不行. 好奇怪 (ios 14)
` [info]-ASProtocol+Schame.swift[41]:createTable() --> Create Table Task success
***SFVPNManager startStopToggled
starting!!!
VPN Status:Connecting
VPN Status:Disconnected
`
Warning(7): is not general line ! Warning(8): is not general line ! Warning(9): is not general line ! Warning(10): is not general line ! ***SFVPNManager startStopToggled starting!!! VPN Status:Connecting getAll error:no such table: session (code: 1) VPN Status:Disconnected getAll error:no such table: session (code: 1)
我点击run之后就会出现以上错误。 请问出现以上的问题应该怎么解决?