Hello: I found a problem with the xcode 9.3 system. I use xcode9.3 to run my app with no problem. However, after using xcode to generate the ad hoc installation package, the app will crash. The location of the problem is a tripartite library fmdb. Then the same code, I use xcode9.2 to generate ad hoc installation package, everything is normal after installation, without any crash. I do not know where xcode 9.3 has been modified, resulting in the use of xcode 9.3 unison to run normally does not crash, but the installation package installation will crash. Is the use of fmdb wrong or that this is a problem with xcode9.3. Trouble give me an answer.
a part of log
Date/Time: 2018-04-03 17:29:38.8424 +0800
Launch Time: 2018-04-03 17:29:27.9140 +0800
OS Version: iPhone OS 11.3 (15E216)
Baseband Version: 4.56.00
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001812655a0
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Release of a locked queue
Abort Cause 27021597764223744
Filtered syslog:
None found
Thread 0 Crashed:
0 libdispatch.dylib 0x00000001812655a0 _dispatch_queue_destroy$VARIANT$mp + 340
1 libdispatch.dylib 0x0000000181262874 _dispatch_dispose$VARIANT$mp + 80
2 libdispatch.dylib 0x0000000181262874 _dispatch_dispose$VARIANT$mp + 80
3 libdispatch.dylib 0x000000018128ebe0 -[OS_dispatch_queue _xref_dispose] + 52
4 myapp 0x00000001008657fc -[FMDatabaseQueue dealloc] + 1202172 (FMDatabaseQueue.m:143)
5 myapp 0x000000010090dec0 -[ECDataBase insertDataWithSQL:argumentsArray:tableName:operateStateBlock:] + 1892032 (ECDataBase.m:72)