[Qt-creator] Xcode 8 woes

Jason H jhihn at gmx.com
Tue Oct 18 17:19:15 CEST 2016


FYI for those going through the Xcode upgrade

So Apple upgraded me to xcode 8.

I had 5.6.0 installed, and my project would not build. I added 5.6.2 kit to the project, set make args to "-j 8" and it reliably crashed. (Thread dump below)
Eventually I work it through getting that set, including accepting the license agreement
I get a message:
 Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
Turns out I have to run xcode-select --install

Then it still tried to qmake using 5.6.0. I had to remove the 5.6.0 kit from Creator, then it was able to build again. 




Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libProjectExplorer.dylib 0x00000001082aa276
ProjectExplorer::Internal::FlatModel::parent(QModelIndex const&) const +
102
1 org.qt-project.QtWidgets 0x00000001010657b7
QTreeView::isIndexHidden(QModelIndex const&) const + 71
2 org.qt-project.QtWidgets 0x0000000101059d5d
QTreeView::visualRect(QModelIndex const&) const + 93
3 org.qt-project.QtWidgets 0x000000010100285c 0x100d97000 + 2537564
4 org.qt-project.QtWidgets 0x0000000101002619 0x100d97000 + 2536985
5 libqcocoa.dylib 0x000000010494e05d 0x104913000 + 241757
6 libqcocoa.dylib 0x000000010494ab2d 0x104913000 + 228141
7 com.apple.AppKit 0x00007fff852d7d16
NSAccessibilityEntryPointAttributeNames + 124
8 com.apple.AppKit 0x00007fff855464b2
-[NSObject(NSAccessibilityInternal) _accessibilityAttributeNamesClientError:]
+ 56
9 com.apple.AppKit 0x00007fff855498d6 CopyAttributeNames + 216
10 com.apple.HIServices 0x00007fff8a8e924f
_AXXMIGCopyAttributeNames + 245
11 com.apple.HIServices 0x00007fff8a8f2837 _XCopyAttributeNames +
367
12 com.apple.HIServices 0x00007fff8a8cd026 mshMIGPerform + 199
13 com.apple.CoreFoundation 0x00007fff91c54019
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 com.apple.CoreFoundation 0x00007fff91c53f89 __CFRunLoopDoSource1 +
473
15 com.apple.CoreFoundation 0x00007fff91c4b9bb __CFRunLoopRun + 2171
16 com.apple.CoreFoundation 0x00007fff91c4aed8 CFRunLoopRunSpecific +
296
17 com.apple.HIToolbox 0x00007fff8a0e6935
RunCurrentEventLoopInMode + 235
18 com.apple.HIToolbox 0x00007fff8a0e676f ReceiveNextEventCommon +
432
19 com.apple.HIToolbox 0x00007fff8a0e65af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
20 com.apple.AppKit 0x00007fff85112df6 _DPSNextEvent + 1067
21 com.apple.AppKit 0x00007fff85112226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
22 com.apple.AppKit 0x00007fff85106d80 -[NSApplication run] +
682
23 libqcocoa.dylib 0x000000010493953f 0x104913000 + 156991
24 org.qt-project.QtCore 0x0000000101b35eb1
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
+ 401
25 org.qt-project.QtCore 0x0000000101b3a115
QCoreApplication::exec() + 341
26 org.qt-project.qtcreator 0x0000000100b1df8d main + 15437
27 libdyld.dylib 0x00007fff808e05ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff93ca5efa kevent_qos + 10
1 libdispatch.dylib 0x00007fff8017a165 _dispatch_mgr_invoke +
216
2 libdispatch.dylib 0x00007fff80179dcd _dispatch_mgr_thread +
52



More information about the Qt-creator mailing list