Xcode failing on running app on physical device - xcode

When I'm trying to run apple watch standalone app on physical device its throwing this error:
Error:
Details
Unable to install "TinyRage WatchKit App"
Domain: com.apple.dtdevicekit
Code: -402620394
--
The executable was signed with invalid entitlements.
Domain: com.apple.dtdevicekit
Code: -402620394
Failure Reason: The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011e6e16e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x000000011e6e1de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000011e72156a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x0000000103851156 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x000000011e721301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x000000011e5baa25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x00000001039823ba __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x0000000103983a92 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff7306d5f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff7306e63d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff730748e0 _dispatch_lane_serial_drain + 602
11 libdispatch.dylib 0x00007fff73075396 _dispatch_lane_invoke + 385
12 libdispatch.dylib 0x00007fff7307d6ed _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff732ae611 _pthread_wqthread + 421
14 libsystem_pthread.dylib 0x00007fff732ae3fd start_wqthread + 13
);
}
--
However with another app everything works correctly without any issues.

Related

NFC iOS 13 read/write trouble

I read all documentation about CoreNFC, saw all videos about read and write tags from WWDC 2019 but i didn't find no one information about my problem.
I need to write tag with some data for open door/window at office. I create simple project on swift with read NFC tags but when i hold my phone to USB reader i have the next trouble in my log:
2019-06-28 13:45:10.994351+0300 officeProj[872:62700] [xpc.exceptions] <NSXPCConnection: 0x283cec120> connection to service on pid 90 named com.apple.nfcd.service.corenfc: Exception caught during decoding of received selector didDetectExternalReaderWithNotification:, dropping incoming message.
Exception: Exception while decoding argument 0 (#2 of invocation):
Exception: decodeObjectForKey: class "NFFieldNotification" not loaded or does not exist
(
0 CoreFoundation 0x00000001a324aa04 2D4D4E9A-884C-31FE-90BE-B324E7B02A3F + 1223172
1 libobjc.A.dylib 0x00000001a37574fc objc_exception_throw + 56
2 Foundation 0x00000001a2f806dc 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 2324188
3 Foundation 0x00000001a2d5d6f4 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 83700
4 Foundation 0x00000001a2fa2410 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 2462736
5 Foundation 0x00000001a2db22b8 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 430776
6 Foundation 0x00000001a2db2624 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 431652
7 Foundation 0x00000001a2d9cc20 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 343072
8 Foundation 0x00000001a2f7e580 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 2315648
9 libxpc.dylib 0x00000001a378e63c AC3BE951-8497-3F21-8844-8319F2577646 + 50748
10 libxpc.dylib 0x00000001a378e9b4 AC3BE951-8497-3F21-8844-8319F2577646 + 51636
11 libdispatch.dylib 0x00000001011d6d10 _dispatch_client_callout4 + 16
12 libdispatch.dylib 0x00000001011f0b1c _dispatch_mach_msg_invoke + 420
13 libdispatch.dylib 0x00000001011dda10 _dispatch_lane_serial_drain + 304
14 libdispatch.dylib 0x00000001011f196c _dispatch_mach_invoke + 520
15 libdispatch.dylib 0x00000001011dda10 _dispatch_lane_serial_drain + 304
16 libdispatch.dylib 0x00000001011de7a0 _dispatch_lane_invoke + 508
17 libdispatch.dylib 0x00000001011e9b74 _dispatch_workloop_worker_thread + 1364
18 libsystem_pthread.dylib 0x00000001a3a97f5c _pthread_wqthread + 304
19 libsystem_pthread.dylib 0x00000001a3a9aaa0 start_wqthread + 8
)
(
0 CoreFoundation 0x00000001a324aa04 2D4D4E9A-884C-31FE-90BE-B324E7B02A3F + 1223172
1 libobjc.A.dylib 0x00000001a37574fc objc_exception_throw + 56
2 Foundation 0x00000001a2fa2658 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 2463320
3 Foundation 0x00000001a2db22b8 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 430776
4 Foundation 0x00000001a2db2624 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 431652
5 Foundation 0x00000001a2d9cc20 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 343072
6 Foundation 0x00000001a2f7e580 6511D0A1-2D67-36FA-BA0E-8FB08A6380FE + 2315648
7 libxpc.dylib 0x00000001a378e63c AC3BE951-8497-3F21-8844-8319F2577646 + 50748
8 libxpc.dylib 0x00000001a378e9b4 AC3BE951-8497-3F21-8844-8319F2577646 + 51636
9 libdispatch.dylib 0x00000001011d6d10 _dispatch_client_callout4 + 16
10 libdispatch.dylib 0x00000001011f0b1c _dispatch_mach_msg_invoke + 420
11 libdispatch.dylib 0x00000001011dda10 _dispatch_lane_serial_drain + 304
12 libdispatch.dylib 0x00000001011f196c _dispatch_mach_invoke + 520
13 libdispatch.dylib 0x00000001011dda10 _dispatch_lane_serial_drain + 304
14 libdispatch.dylib 0x00000001011de7a0 _dispatch_lane_invoke + 508
15 libdispatch.dylib 0x00000001011e9b74 _dispatch_workloop_worker_thread + 1364
16 libsystem_pthread.dylib 0x00000001a3a97f5c _pthread_wqthread + 304
17 libsystem_pthread.dylib 0x00000001a3a9aaa0 start_wqthread + 8
)
I tried to find something about decodeObjectForKey: class "NFFieldNotification" but realy no one info on google pages. Maybe someone can help me? Or maybe iOS 13 beta 2 or xCode 11 beta 2 just so raw product? Suppose this question will be helpful on future...
I had the same problem and solved it by adding
CoreNFC.framework
in
xyz.xcodeproj -> Build Phases -> Link Binary With Libraries
(xyz.xcodeproj is my Project Root File)
In my case the problem has been solved by adding missing Capability "Near Field Communication Tag Reading"

Xcode Crash NO_CRASH_STACK + 0 with no stack trace and unsymbolicated

Can anyone tell me what is this crash about since there's no stack trace and cannot be symbolicated?
I'll paste here only the relevant part of the crash. My project is written in Swift.
NO_CRASH_STACK + 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000102445424
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [18568]
Triggered by Thread: 7
Thread 7 name: Dispatch queue: NSOperationQueue 0x282ced140 (QOS: UNSPECIFIED)
Thread 7 Crashed:
0 ------------ 0x0000000102445424 0x102304000 + 1315876
1 ------------ 0x0000000102444a9c 0x102304000 + 1313436
2 ------------ 0x000000010232e408 0x102304000 + 173064
3 ------------ 0x000000010232b320 0x102304000 + 160544
4 CFNetwork 0x0000000208b5b228 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
5 CFNetwork 0x0000000208b6f9c8 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 176
6 Foundation 0x000000020900e82c __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
7 Foundation 0x0000000208f16a28 -[NSBlockOperation main] + 72
8 Foundation 0x0000000208f15efc -[__NSOperationInternal _start:] + 740
9 Foundation 0x0000000209010700 __NSOQSchedule_f + 272
10 libdispatch.dylib 0x0000000207fb96c8 _dispatch_call_block_and_release + 24
11 libdispatch.dylib 0x0000000207fba484 _dispatch_client_callout + 16
12 libdispatch.dylib 0x0000000207f5d83c _dispatch_continuation_pop$VARIANT$mp + 412
13 libdispatch.dylib 0x0000000207f5cf04 _dispatch_async_redirect_invoke + 600
14 libdispatch.dylib 0x0000000207f69a28 _dispatch_root_queue_drain + 376
15 libdispatch.dylib 0x0000000207f6a2d0 _dispatch_worker_thread2 + 128
16 libsystem_pthread.dylib 0x000000020819c17c _pthread_wqthread + 472
17 libsystem_pthread.dylib 0x000000020819ecec start_wqthread + 4
I solved the problem myself just by downloading the dSYM files from App Store Connect and Xcode automatically symbolicated the crash.

SIGABRT crash on OS X app

I have had this crash that occurs rather rarely for ages. Unfortunately, I'm not able to get much hints from this received crashlog as it doesn't show any code line from my app. I believe this is related to bad memory management, but I have never managed to generate this crash in my debugger. I have tried enabling NSZombies and run this in Zombies-instruments but they have not shown the cause of the problem. Are there any other tricks I could try to find the cause for this kind of crash? Does the crashlog tell anything? Could it related to storyboard, timers or anything like that? Any hints are greatly appreciated!
Exception Type: SIGABRT
Exception Codes: #0 at 0x7fff93796d42
Crashed Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00007fff93796d42 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff936fc420 abort + 129
2 libc++abi.dylib 0x00007fff9225094a __cxa_bad_cast + 0
3 libc++abi.dylib 0x00007fff92275c2f _ZL26default_unexpected_handlerv + 0
4 libobjc.A.dylib 0x00007fff92d846fe _ZL15_objc_terminatev + 103
5 libc++abi.dylib 0x00007fff92272d49 _ZSt11__terminatePFvvE + 8
6 libc++abi.dylib 0x00007fff92272dc3 _ZSt9terminatev + 51
7 libdispatch.dylib 0x00007fff93632910 _dispatch_client_callout + 28
8 libdispatch.dylib 0x00007fff9363faac _dispatch_main_queue_callback_4CF + 925
9 com.apple.CoreFoundation 0x00007fff7df20bc9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 com.apple.CoreFoundation 0x00007fff7dee1c0d __CFRunLoopRun + 2205
11 com.apple.CoreFoundation 0x00007fff7dee1114 CFRunLoopRunSpecific + 420
12 com.apple.HIToolbox 0x00007fff7d441ebc RunCurrentEventLoopInMode + 240
13 com.apple.HIToolbox 0x00007fff7d441cf1 ReceiveNextEventCommon + 432
14 com.apple.HIToolbox 0x00007fff7d441b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
15 com.apple.AppKit 0x00007fff7b9d8a54 _DPSNextEvent + 1120
16 com.apple.AppKit 0x00007fff7c1547ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
17 com.apple.AppKit 0x00007fff7b9cd3db -[NSApplication run] + 926
18 com.apple.AppKit 0x00007fff7b997e0e NSApplicationMain + 1237
19 libdyld.dylib 0x00007fff93668235 start + 1

Mac Java 7 Crash while getting a tooltip after toggling to 'mirror display' on Mac

There is a consistently reproducible crash when toggling 'mirror display' on while a Swing application is running on a dual monitor machine, then immediately overing over something that has a tooltip.
I only see this on OS X 10.8. I could not reproduce it on 10.7.
Compile and run the sample code against Java 7 on a Mac with OS X 10.8 (with dual monitor) in a 'display mirroring' off state.
Hover over the JLabel to see a tooltip
Toggle display mirroring on.
Hover over the JLabel again and you should get a crash.
public class TestToolTip {
public static void main(String[] args) {
JFrame frame = new JFrame();
JLabel label = new JLabel("hover");
label.setToolTipText("tooltip text");
frame.add(label);
frame.setVisible(true);
frame.pack();
}
}
I've also seen this when closing a laptop on a running application instead of the 'mirror on' step.
PlugIn Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/jre/lib/lwawt/liblwawt.dylib
PlugIn Identifier: liblwawt.dylib
PlugIn Version: ??? (1)
Date/Time: 2013-07-04 12:09:43.467 -0400
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 6164497 sec
Crashes Since Last Report: 67
Per-App Interval Since Last Report: 23880 sec
Per-App Crashes Since Last Report: 2
Crashed Thread: 0 AppKit Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** CFRelease() called with NULL ***
Thread 0 Crashed:: AppKit Thread Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8513e7d8 CFRelease + 40
1 liblwawt.dylib 0x0000000168eae647 __Java_sun_lwawt_macosx_CWrapper_00024NSObject_release_block_invoke_1 + 91
2 JavaNativeFoundation 0x00000001682d55f5 +[JNFRunLoop _performCopiedBlock:] + 20
3 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
4 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
6 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
7 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
8 com.apple.HIToolbox 0x00007fff901410a4 RunCurrentEventLoopInMode + 209
9 com.apple.HIToolbox 0x00007fff90140e42 ReceiveNextEventCommon + 356
10 com.apple.HIToolbox 0x00007fff90140cd3 BlockUntilNextEventMatchingListInMode + 62
11 com.apple.AppKit 0x00007fff8dc19613 _DPSNextEvent + 685
12 com.apple.AppKit 0x00007fff8dc18ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
13 libosxapp.dylib 0x0000000168f2fb56 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
14 com.apple.AppKit 0x00007fff8dc10283 -[NSApplication run] + 517
15 libosxapp.dylib 0x0000000168f2f9b9 +[NSApplicationAWT runAWTLoopWithApp:] + 156
16 liblwawt.dylib 0x0000000168e8981a -[AWTStarter starter:] + 1591
17 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
18 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
20 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
21 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
22 java 0x0000000102a8842d CreateExecutionEnvironment + 871
23 java 0x0000000102a82bdc JLI_Launch + 1952
24 java 0x0000000102a8878a main + 101
25 java 0x0000000102a82434 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8bf70386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff884eacbd pthread_join + 847
2 java 0x0000000102a87a2d ContinueInNewThread0 + 102
3 java 0x0000000102a83847 ContinueInNewThread + 201
4 java 0x0000000102a87790 JVMInit + 251
5 java 0x0000000102a835c5 JLI_Launch + 4489
6 java 0x0000000102a8878a main + 101
7 java 0x0000000102a880bf apple_main + 92
8 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
9 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4018a Monitor::wait(bool, long, bool) + 246
6 libjvm.dylib 0x0000000103023168 Threads::destroy_vm() + 80
7 libjvm.dylib 0x0000000102e4e2ba jni_DestroyJavaVM + 223
8 java 0x0000000102a83b86 JavaMain + 805
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 3:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bf70d16 kevent + 10
1 libdispatch.dylib 0x00007fff84e84dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff84e849ee _dispatch_mgr_thread + 54
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5d6b3 os::PlatformEvent::park(long long) + 385
3 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
4 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
5 libjvm.dylib 0x0000000103053f2c VMThread::loop() + 444

Xcode 3.2 crashes when opening/creating a project

Xcode 3.2 crashes when opening/creating a project. Log really explains the rest (OS version etc.)
LOG:
Process: Xcode [7718]
Path: /Xcode3.2/*/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.2 (1610)
Build Info: DevToolsIDE-16100000~6
Code Type: X86-64 (Native)
Parent Process: launchd [224]
Date/Time: 2011-11-23 22:00:45.656 +0000
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 172469 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 19398 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: 5085CBA9-0FEA-4928-84A9-B5802B0A1903
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
Performing #selector(overwriteSelectedAction:) from sender NSButton 0x401ab2520
objc[7718]: garbage collection is ON
Dyld Error Message:
Symbol not found: _dispatch_queue_attr_create
Referenced from: /Xcode3.2/*/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks//DevToolsCore.framework/Versions/A/DevToolsCore
Expected in: /usr/lib/libSystem.B.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x00007fff68fd906d dyld_fatal_error + 1
1 dyld 0x00007fff68fdc918 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 128
2 libdyld.dylib 0x00007fff9281d716 dyld_stub_binder_ + 13
3 ??? 0x0000000100550010 0 + 4300537872
4 com.apple.Xcode.DevToolsCore 0x00000001001167a7 -[PBXProjectIndex initWithProject:] + 87
5 com.apple.Xcode.DevToolsCore 0x0000000100116479 -[PBXProject loadIndex] + 137
6 com.apple.Xcode.DevToolsCore 0x0000000100116304 -[PBXProject beginIndexing] + 52
7 com.apple.Xcode.DevToolsCore 0x00000001001162cb -[PBXProject openIndex] + 43
8 com.apple.Xcode.DevToolsInterface 0x0000000100870b7f -[PBXProjectDocument initWithProject:] + 367
9 com.apple.Xcode.DevToolsInterface 0x000000010096db80 +[PBXProjectDocument documentWithProject:] + 48
10 com.apple.Xcode.DevToolsInterface 0x00000001009d2bff -[PBXProjectWizard _finishTemplateInstantiationAfterFileCopying:instantiationResult:] + 351
11 com.apple.Xcode.DevToolsInterface 0x0000000100a765eb -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] + 219
12 com.apple.Xcode.DevToolsInterface 0x0000000100a9b780 -[PBXWizardOverwritingFilesModule sheetDidEnd:returnCode:contextInfo:] + 368
13 com.apple.AppKit 0x00007fff91d317d7 -[NSApplication endSheet:returnCode:] + 275
14 com.apple.Xcode.DevToolsInterface 0x0000000100a9b84e -[PBXWizardOverwritingFilesModule overwriteSelectedAction:] + 78
15 com.apple.CoreFoundation 0x00007fff9129fa1d -[NSObject performSelector:withObject:] + 61
16 com.apple.AppKit 0x00007fff91b80710 -[NSApplication sendAction:to:from:] + 139
17 com.apple.AppKit 0x00007fff91b80642 -[NSControl sendAction:to:] + 88
18 com.apple.AppKit 0x00007fff91b8056d -[NSCell _sendActionFrom:] + 137
19 com.apple.AppKit 0x00007fff91b7fa30 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2014
20 com.apple.AppKit 0x00007fff91bff8e0 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 489
21 com.apple.AppKit 0x00007fff91b7e63a -[NSControl mouseDown:] + 786
22 com.apple.AppKit 0x00007fff91b490e0 -[NSWindow sendEvent:] + 6306
23 com.apple.AppKit 0x00007fff91ae168f -[NSApplication sendEvent:] + 5593
24 com.apple.Xcode.DevToolsInterface 0x0000000100869bdd -[PBXExtendedApplication sendEvent:] + 301
25 com.apple.AppKit 0x00007fff91a77682 -[NSApplication run] + 555
26 com.apple.AppKit 0x00007fff91cf680c NSApplicationMain + 867
27 com.apple.Xcode 0x000000010000e97e 0x100000000 + 59774
28 com.apple.Xcode 0x0000000100001844 0x100000000 + 6212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bcbf7e6 kevent + 10
1 libdispatch.dylib 0x00007fff8bc205be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8bc1f14e _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bcbd67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bcbcd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9123cb6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff912452d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91244ae6 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x00000001094da094 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 229
6 com.apple.Foundation 0x00007fff942fe7fe -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff942fe776 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8bcbedf2 __select + 10
1 com.apple.CoreFoundation 0x00007fff9128df9b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bcbf192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8d07b594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8d07cb85 start_wqthread + 13
...*snip* - Rest at http://pastebin.com/BLsUxEkz
(Sorry, the log is LONG and putting 4 spaces at the begging of over 450 lines is too much! The rest of the log is at: http://pastebin.com/BLsUxEkz)
Thanks in advance.
EDIT: The only reason I wanted to use Xcode 3 (I usually use 4) is that I want to test my iOS app on iOS 3.x.
Xcode 3 is not officially supported on Mac OS X Lion.
Either upgrade to Xcode 4 (you can still target Mac OS X versions older than 10.7), or stick to Snow Leopard.
Otherwise, if you really want to use Lion and Xcode 3, I think you should install a 10.6 virtual machine, so you can run Xcode 3.
I heard some people said they couldn't run xcode3 on lion,so I think snow leopard well be chosen if you want use xcode3. Best regard.
Upgrading to Xcode 3.2.6 seemed to do the trick.

Resources