MxABC / swiftScan

A barcode and qr code scanner( 二维码 各种码识别,生成,界面效果)
MIT License
1.59k stars 325 forks source link

Modifying the autolayout engine from a background thread ? #41

Open lai3d opened 6 years ago

lai3d commented 6 years ago

Xcode 9, Swift 4.0

2017-11-08 14:53:53.019761+0800 swiftScan[997:851066] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000018766e66c + 96 1 Foundation 0x000000018766e350 + 76 2 Foundation 0x000000018749eda0 + 132 3 Foundation 0x000000018766c458 + 112 4 UIKit 0x000000018ff9e5c0 + 1976 5 QuartzCore 0x000000018ab57ec8 + 184 6 QuartzCore 0x000000018ab5bfa8 + 332 7 QuartzCore 0x000000018aacaa98 + 336 8 QuartzCore 0x000000018aaf0eb4 + 540 9 QuartzCore 0x000000018aaf159c + 244 10 libsystem_pthread.dylib 0x0000000186793680 + 572 11 libsystem_pthread.dylib 0x00000001867933d0 + 88 12 libsystem_pthread.dylib 0x0000000186793168 _pthread_wqthread + 1340 13 libsystem_pthread.dylib 0x0000000186792c20 start_wqthread + 4 )