We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift 5, xcode 15.0.1
WCDB (2.0.4)
iPhone Xs, iOS 14.4.2
iOS
Cocoapods
Debug mode crashed when create Database instance.
Full stack:
WCDB::Core::shared() at Core.cpp:44:27 frame #2: 0x00000001037b0138 WCDB
Database.__allocating_init(url="file:///var/mobile/Containers/Data/Application/DCE0F7F3-E0E1-4E4C-B281-9A05CF1FF900/Documents/wcdb/uudb.db") at Database.swift:54:24 frame #4: 0x0000000103af95b4 WCDB
UUStDBManager.init(self=0x0000000282aafbc0) at UUStDBManager.swift:15:14 frame #6: 0x0000000102a410fc SteivaDemo
one-time initialization function for share at UUStDBManager.swift:12:24 frame #8: 0x00000001058f56c0 libdispatch.dylib
_dispatch_once_callout + 136 frame #10: 0x000000018d3345bc libswiftCore.dylib
UUStDBManager.share.unsafeMutableAddressor at UUStDBManager.swift:12:16 frame #12: 0x0000000102a3c0f4 SteivaDemo
@objc ViewController.viewDidLoad() at <compiler-generated>:0 frame #14: 0x000000018b632744 UIKitCore
-[UIViewController loadViewIfRequired] + 956 frame #16: 0x000000018b575a08 UIKitCore
WCDB_PROPERTY
WCDB_SYNTHESIZE
-[UINavigationController _startTransition:fromViewController:toViewController:] + 196 frame #18: 0x000000018b576bac UIKitCore
-[UINavigationController __viewWillLayoutSubviews] + 168 frame #20: 0x000000018b559a18 UIKitCore
-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2504 frame #22: 0x000000018c7c2644 QuartzCore
CA::Layer::layout_if_needed(CA::Transaction*) + 524 frame #24: 0x000000018c7d730c QuartzCore
CA::Context::commit_transaction(CA::Transaction*, double, double*) + 416 frame #26: 0x000000018c747b08 QuartzCore
__34-[UIApplication _firstCommitBlock]_block_invoke_2 + 84 frame #28: 0x000000018932149c CoreFoundation
__CFRunLoopDoBlocks + 408 frame #30: 0x000000018931aaa0 CoreFoundation
CFRunLoopRunSpecific + 600 frame #32: 0x00000001a0ee4784 GraphicsServices
-[UIApplication _run] + 1072 frame #34: 0x000000018bd6075c UIKitCore
UIKit.UIApplicationMain(Swift.Int32, Swift.Optional<Swift.UnsafeMutablePointer<Swift.UnsafeMutablePointer<Swift.Int8>>>, Swift.Optional<Swift.String>, Swift.Optional<Swift.String>) -> Swift.Int32 + 104 frame #36: 0x0000000102a40214 SteivaDemo
static AppDelegate.$main(self=SteivaDemo.AppDelegate) at <compiler-generated>:0 frame #38: 0x0000000102a402c0 SteivaDemo
start + 4 thread #2 frame #0: 0x00000001d4e58764 libsystem_pthread.dylib
__workq_kernreturn + 8 thread #4 frame #0: 0x00000001d4e58764 libsystem_pthread.dylib
__workq_kernreturn + 8 thread #6, name = 'com.apple.uikit.eventfetch-thread' frame #0: 0x00000001b72d12d0 libsystem_kernel.dylib
mach_msg + 76 frame #2: 0x0000000189320c30 CoreFoundation
__CFRunLoopRun + 1216 frame #4: 0x000000018931a21c CoreFoundation
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 frame #6: 0x000000018a5c9cbc Foundation
-[UIEventFetcher threadMain] + 516 frame #8: 0x000000018a73ba34 Foundation
_pthread_start + 320 thread #7 frame #0: 0x00000001b72f6184 libsystem_kernel.dylib
The text was updated successfully, but these errors were encountered:
Only debug mode have this crash. Archive as product ipa every thing is fine.
Sorry, something went wrong.
Same issue.
Maybe this issue can help you: #1006
No branches or pull requests
The language of WCDB
The version of WCDB
The base device info of iPhone
iPhone Xs, iOS 14.4.2
The platform of WCDB
The installation of WCDB
What's the issue?
Debug mode crashed when create Database instance.
Full stack:
frame #0: 0x0000000000000000
frame Repair #1: 0x000000010378aa7c WCDB
WCDB::Core::shared() at Core.cpp:44:27 frame #2: 0x00000001037b0138 WCDB
WCDBCoreCreateDatabase(path="/var/mobile/Containers/Data/Application/DCE0F7F3-E0E1-4E4C-B281-9A05CF1FF900/Documents/wcdb/uudb.db") at CoreBridge.cpp:31:41frame iOS 不支持cocoapods引入吗 #3: 0x0000000103af98e4 WCDB
Database.__allocating_init(url="file:///var/mobile/Containers/Data/Application/DCE0F7F3-E0E1-4E4C-B281-9A05CF1FF900/Documents/wcdb/uudb.db") at Database.swift:54:24 frame #4: 0x0000000103af95b4 WCDB
Database.__allocating_init(path="/var/mobile/Containers/Data/Application/DCE0F7F3-E0E1-4E4C-B281-9A05CF1FF900/Documents/wcdb/uudb.db") at Database.swift:39:14frame Feature: WCDB for Swift #5: 0x0000000102a41250 SteivaDemo
UUStDBManager.init(self=0x0000000282aafbc0) at UUStDBManager.swift:15:14 frame #6: 0x0000000102a410fc SteivaDemo
UUStDBManager.__allocating_init() at UUStDBManager.swift:0frame 增加android的 x86_64 支持 #7: 0x0000000102a410bc SteivaDemo
one-time initialization function for share at UUStDBManager.swift:12:24 frame #8: 0x00000001058f56c0 libdispatch.dylib
_dispatch_client_callout + 20frame Is there any plan to support React Native? #9: 0x00000001058f71f8 libdispatch.dylib
_dispatch_once_callout + 136 frame #10: 0x000000018d3345bc libswiftCore.dylib
swift_once + 48frame 使用 Carthage 安装,但是文件路径与文档不同 #11: 0x0000000102a41158 SteivaDemo
UUStDBManager.share.unsafeMutableAddressor at UUStDBManager.swift:12:16 frame #12: 0x0000000102a3c0f4 SteivaDemo
ViewController.viewDidLoad(self=0x00000001568113a0) at ViewController.swift:82:23frame iOS 版,在未设置加密的情况下,是否可以使用软件直接查看数据库? #13: 0x0000000102a3c290 SteivaDemo
@objc ViewController.viewDidLoad() at <compiler-generated>:0 frame #14: 0x000000018b632744 UIKitCore
-[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 108frame 表创建失败 #15: 0x000000018b636f70 UIKitCore
-[UIViewController loadViewIfRequired] + 956 frame #16: 0x000000018b575a08 UIKitCore
-[UINavigationController _updateScrollViewFromViewController:toViewController:] + 176frame
WCDB_PROPERTY
,WCDB_SYNTHESIZE
修改建议 #17: 0x000000018b575d24 UIKitCore-[UINavigationController _startTransition:fromViewController:toViewController:] + 196 frame #18: 0x000000018b576bac UIKitCore
-[UINavigationController _startDeferredTransitionIfNeeded:] + 880frame iOS 建议添加打包脚本 #19: 0x000000018b577f88 UIKitCore
-[UINavigationController __viewWillLayoutSubviews] + 168 frame #20: 0x000000018b559a18 UIKitCore
-[UILayoutContainerView layoutSubviews] + 228frame 当我尝试加密数据库的时候遇到这个bug #21: 0x000000018c2a7ec4 UIKitCore
-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2504 frame #22: 0x000000018c7c2644 QuartzCore
-[CALayer layoutSublayers] + 308frame iOS文件编译设置 #23: 0x000000018c7c2b18 QuartzCore
CA::Layer::layout_if_needed(CA::Transaction*) + 524 frame #24: 0x000000018c7d730c QuartzCore
CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144frame 按教程用carthage集成,编译失败 #25: 0x000000018c71c640 QuartzCore
CA::Context::commit_transaction(CA::Transaction*, double, double*) + 416 frame #26: 0x000000018c747b08 QuartzCore
CA::Transaction::commit() + 732 frame SetGlobalTrace回调不执行 #27: 0x000000018bd79f28 UIKitCore__34-[UIApplication _firstCommitBlock]_block_invoke_2 + 84 frame #28: 0x000000018932149c CoreFoundation
CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 28frame Carthage 集成出错 #29: 0x00000001893206e4 CoreFoundation
__CFRunLoopDoBlocks + 408 frame #30: 0x000000018931aaa0 CoreFoundation
__CFRunLoopRun + 844frame 如何测试损坏数据库的修复和恢复功能 #31: 0x000000018931a21c CoreFoundation
CFRunLoopRunSpecific + 600 frame #32: 0x00000001a0ee4784 GraphicsServices
GSEventRunModal + 164frame Android从SQLCipher Android升级到WCDB失败 #33: 0x000000018bd5aee8 UIKitCore
-[UIApplication _run] + 1072 frame #34: 0x000000018bd6075c UIKitCore
UIApplicationMain + 168frame 请教个加密的问题 #35: 0x000000019d67f2e4 libswiftUIKit.dylib
UIKit.UIApplicationMain(Swift.Int32, Swift.Optional<Swift.UnsafeMutablePointer<Swift.UnsafeMutablePointer<Swift.Int8>>>, Swift.Optional<Swift.String>, Swift.Optional<Swift.String>) -> Swift.Int32 + 104 frame #36: 0x0000000102a40214 SteivaDemo
static UIApplicationDelegate.main() at :0frame ORM 怎么实现一对多, 多对多, 模型套模型这种case呢? #37: 0x0000000102a4018c SteivaDemo
static AppDelegate.$main(self=SteivaDemo.AppDelegate) at <compiler-generated>:0 frame #38: 0x0000000102a402c0 SteivaDemo
main at AppDelegate.swift:11:7frame 项目编译时.hpp里有报错 #39: 0x0000000188fda6b0 libdyld.dylib
start + 4 thread #2 frame #0: 0x00000001d4e58764 libsystem_pthread.dylib
start_wqthreadthread iOS 不支持cocoapods引入吗 #3
frame #0: 0x00000001b72f6184 libsystem_kernel.dylib
__workq_kernreturn + 8 thread #4 frame #0: 0x00000001d4e58764 libsystem_pthread.dylib
start_wqthreadthread Feature: WCDB for Swift #5
frame #0: 0x00000001b72f6184 libsystem_kernel.dylib
__workq_kernreturn + 8 thread #6, name = 'com.apple.uikit.eventfetch-thread' frame #0: 0x00000001b72d12d0 libsystem_kernel.dylib
mach_msg_trap + 8frame Repair #1: 0x00000001b72d0660 libsystem_kernel.dylib
mach_msg + 76 frame #2: 0x0000000189320c30 CoreFoundation
__CFRunLoopServiceMachPort + 380frame iOS 不支持cocoapods引入吗 #3: 0x000000018931ac14 CoreFoundation
__CFRunLoopRun + 1216 frame #4: 0x000000018931a21c CoreFoundation
CFRunLoopRunSpecific + 600frame Feature: WCDB for Swift #5: 0x000000018a5c9df0 Foundation
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 frame #6: 0x000000018a5c9cbc Foundation
-[NSRunLoop(NSRunLoop) runUntilDate:] + 92frame 增加android的 x86_64 支持 #7: 0x000000018be0ec48 UIKitCore
-[UIEventFetcher threadMain] + 516 frame #8: 0x000000018a73ba34 Foundation
NSThread__start + 864frame Is there any plan to support React Native? #9: 0x00000001d4e4fcb0 libsystem_pthread.dylib
_pthread_start + 320 thread #7 frame #0: 0x00000001b72f6184 libsystem_kernel.dylib
__workq_kernreturn + 8thread Support Android x86_64 ABI #8
frame #0: 0x00000001d4e58764 libsystem_pthread.dylib`start_wqthread
The text was updated successfully, but these errors were encountered: