Eclipse RCP Development - Slowness during debug - debugging

I have been using Eclipse (Oxygen or 4.7) to build an Eclipse RCP App in MacOs Sierra.
When I stop the execution with a breakpoint, IDE is really slow. After moments, it logs following statements to error console.
Have you guys seen this? Any workaround to overcome this?
2017-09-18 15:39:49.814 java[5621:1677726] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_presentFunctionRowItemTextInputViewWithEndpoint:reply:) block performed very slowly (19.02 secs).
2017-09-18 15:39:49.817 java[5621:1677726] *** Assertion failure in -[NSRemoteView informAuxServiceOfSelf], /Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-283/NSRemoteView.m:3207
2017-09-18 15:39:49.827 java[5621:1677726] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : [self textInputContext]=0x7ff8de18e840 *NO* NSRemoteViewController to client, NSError=Error Domain=com.apple.ViewBridge Code=8 "(null)" UserInfo={com.apple.ViewBridge.error.hint=__38-[NSRemoteView _advanceToConfigPhase:]_block_invoke.2466 caught NSInternalInconsistencyException '<NSRemoteView: 0x7ff8ddebe6f0> failed to rendezvous via aux service' with backtrace (
0 CoreFoundation 0x00007fff9ebc92cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb39d448d objc_exception_throw + 48
2 CoreFoundation 0x00007fff9ebce042 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fffa0616c80 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 ViewBridge 0x00007fffb242ab34 -[NSRemoteView informAuxServiceOfSelf] + 345
5 ViewBridge 0x00007fffb242b47e -[NSRemoteView _finishAdvanceToConfigPhaseWithContextID:andServiceViewSize:andOffset:] + 685

I had the same issue, then I have bumped up to 10.13.1 (17B48), MacOS High Sierra. Now the performance is smooth as before. I hope this solves your problem too.

Related

Got a SIGABRT while executing native code xamarin.ios

I've built a xamarin.ios app. The app has been working absolutely fine. There have been no code changes and out of the blue, the app now crashes when accessing the camera. I have no idea why this is happening, could anyone shed some light on this problem? I've google around this error and tried various things, including removing various packages. I recently updated to ios 10 but the app was still working fine after the update. The error is below:
2016-10-10 21:44:28.925 Coacher[307:24128] critical: Native
stacktrace:
2016-10-10 21:44:28.934 Coacher[307:24128] critical: 0
libmonosgen-2.0.dylib 0x00363d33
mono_handle_native_sigsegv + 242 2016-10-10 21:44:28.934
Coacher[307:24128] critical: 1 libsystem_platform.dylib
0x1db5326d _sigtramp + 24 2016-10-10 21:44:28.935 Coacher[307:24128]
critical: 2 libsystem_kernel.dylib 0x1da9fd8f
+ 64 2016-10-10 21:44:28.935 Coacher[307:24128] critical:
3 libsystem_kernel.dylib 0x1da9fdd9
system_set_sfi_window + 0 2016-10-10 21:44:28.935 Coacher[307:24128]
critical: 4 TCC 0x201a8e85
+ 228 2016-10-10 21:44:28.936 Coacher[307:24128] critical:
5 TCC 0x201a8da1 + 0
2016-10-10 21:44:28.936 Coacher[307:24128] critical: 6 TCC
0x201ab57b + 276 2016-10-10 21:44:28.936 Coacher[307:24128]
critical: 7 libxpc.dylib 0x1db8915f
+ 46 2016-10-10 21:44:28.937 Coacher[307:24128] critical:
8 libxpc.dylib 0x1db89101 + 26
2016-10-10 21:44:28.937 Coacher[307:24128] critical: 9
libdispatch.dylib 0x1d9ae49b + 604
2016-10-10 21:44:28.937 Coacher[307:24128] critical: 10
libdispatch.dylib 0x1d9afa91 + 378
2016-10-10 21:44:28.938 Coacher[307:24128] critical: 11
libdispatch.dylib 0x1d9af8b7 + 106
2016-10-10 21:44:28.938 Coacher[307:24128] critical: 12
libsystem_pthread.dylib 0x1db55947 _pthread_wqthread +
1168 2016-10-10 21:44:28.938 Coacher[307:24128] critical: 13
libsystem_pthread.dylib 0x1db5549c start_wqthread + 8
2016-10-10 21:44:28.939 Coacher[307:24128] critical:
================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal
error in the mono runtime or one of the native libraries used by your
application.
This is because of your iOS 10 update. You need to request the permission for the camera now. The following blog post explains how to set up these permissions, now.
https://devblogs.microsoft.com/xamarin/new-ios-10-privacy-permission-settings/
Starting in iOS 10, nearly all APIs that require requesting authorization and other APIs, such as opening the camera or photo gallery, require a new key value pair to describe their usage in the Info.plist. This is very similar to the requirement for NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription to be put into the Info.plit when using Geolocation and iBeacon APIs. The difference now is that the application will crash when the app attempts authorization without these keys set.

Xcode 6.3: Crash while archiving a project

I have just got Xcode 6.3 installed and immediately receiving a Xcode crash while archiving a project.
And actually, I don't know how to proceed. I cannot push my product to iTunes Connect.
I am also checking if I can roll back to Xcode 6.2.
Process: Xcode [4677]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3 (7569)
Build Info: IDEFrameworks-7569000000000000~2
App Item ID: 497799835
App External ID: 812135760
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4677]
User ID: 502
Date/Time: 2015-04-09 22:23:04.523 +0200
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Time Awake Since Boot: 9100 seconds
Time Since Wake: 2000 seconds
Crashed Thread: 12 Dispatch queue: NSOperationQueue 0x7f946daa5ef0 :: NSOperation 0x7f946d9284b0 (QOS: USER_INITIATED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff984e6024 __exceptionPreprocess (in CoreFoundation)
1 0x00000001042e0184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff977aa76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff984e5eed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] (in Foundation)
5 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] (in DVTSourceControl)
6 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke (in IDEFoundation)
7 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke (in DVTSourceControl)
8 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
9 0x00007fff8fb255b5 -[NSBlockOperation main] (in Foundation)
10 0x00007fff8fb24a6c -[__NSOperationInternal _start:] (in Foundation)
11 0x00007fff8fb24543 __NSOQSchedule_f (in Foundation)
12 0x00007fff944f4c13 _dispatch_client_callout (in libdispatch.dylib)
13 0x00007fff944f8365 _dispatch_queue_drain (in libdispatch.dylib)
14 0x00007fff944f9ecc _dispatch_queue_invoke (in libdispatch.dylib)
15 0x00007fff944f76b7 _dispatch_root_queue_drain (in libdispatch.dylib)
16 0x00007fff94505fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
17 0x00007fff99dcd637 _pthread_wqthread (in libsystem_pthread.dylib)
18 0x00007fff99dcb40d start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff984e603c __exceptionPreprocess + 172
1 DVTFoundation 0x00000001042e0184 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff977aa76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff984e5eed +[NSException raise:format:] + 205
4 Foundation 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] + 84
5 DVTSourceControl 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] + 225
6 IDEFoundation 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke + 112
7 DVTSourceControl 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke + 5293
8 Foundation 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
9 Foundation 0x00007fff8fb255b5 -[NSBlockOperation main] + 97
10 Foundation 0x00007fff8fb24a6c -[__NSOperationInternal _start:] + 653
11 Foundation 0x00007fff8fb24543 __NSOQSchedule_f + 184
12 libdispatch.dylib 0x00007fff944f4c13 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff944f8365 _dispatch_queue_drain + 1100
14 libdispatch.dylib 0x00007fff944f9ecc _dispatch_queue_invoke + 202
15 libdispatch.dylib 0x00007fff944f76b7 _dispatch_root_queue_drain + 463
16 libdispatch.dylib 0x00007fff94505fe4 _dispatch_worker_thread3 + 91
17 libsystem_pthread.dylib 0x00007fff99dcd637 _pthread_wqthread + 729
18 libsystem_pthread.dylib 0x00007fff99dcb40d start_wqthread + 13
Seems like the problem is when you have an old project with some subprojects under source control while the main one is not.
I have removed from Xcode Preferences source control completely, and it seems did the trick - now archiving works.
To remove your project from Source Control press command+, (or select Preferences from main menu) -> Source Control and uncheck all parameters.
I am following this issue in the developer forums and seems like Apple is aware of the issues.
New projects are not affected.
EDIT FOR NEW VERSION OF XCODE (6.3.1)
After installing new version of Xcode yesterday I have enabled Source Control and it works now correctly. Below is my version now:
Here is a visual that maybe of assistance!
I solved this crashing bug with the following steps:
Remove Xcode.app (throw it in the Trash or remove it via Launchpad)
Restart your Mac
Reinstall Xcode 6.3 via the Mac App Store
Everything is now back to normal.
My XCode project (which contains multiple sub projects) is entirely unstable in XCode 6.3. XCode is crashing at random when I'm working with it - never mind just achieving! I installed 6.2 side-by-side with 6.3 just to have a fallback option (Actually I have like 4 versions of XCode installed!). Here's an SO link to download full prior versions:
How to download Xcode DMG or XIP file?
XCode 9 Swift 4
if the xcode crash during the Archive please first check which Account you are using for Archive is your Apple Agreement is updated for this Apple Account?, then please update and re Archive Problem Solve

Xcode 4.3 crashes when using LLDB

Since installing xcode 4.3 (from the app store), Xcode crashes when I try to run a few of my apps with the debugger set to LLDB. GDB works fine.
I've already tried reinstalling iTunes and removing all traces of xcode and reinstalling that. I've also tried removing the .xib files and re-adding them to the project.
Any help would be great :)
Here is some of the report that is generated:
Process: Xcode [2102] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 4.3.2 (1177) Code Type:
X86-64 (Native)
Date/Time: 2012-05-05 11:02:34.865 +1000 OS Version: Mac OS
X 10.7.3 (11D50b) Report Version: 9
Interval Since Last Report: 2063 sec Crashes Since Last
Report: 7 Per-App Interval Since Last Report: 882 sec
Per-App Crashes Since Last Report: 7
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000
Application Specific Information: ProductBuildVersion: 4E2002 UNCAUGHT
EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in
'com.apple.dt.dbg.DebuggerLLDB' while firing fault for extension
'Xcode.DebuggerFoundation.Debugger.LLDB' UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x402a89c20
{DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB,
DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB,
NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite
plug-ins may be missing or damaged and may need to be reinstalled.,
NSLocalizedDescription=Loading a plug-in failed.,
NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin,
NSLocalizedFailureReason=The plug-in
\U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path
\U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d
could not be loaded. The plug-in or one of its prerequisite plug-ins
may be missing or damaged., NSUnderlyingError=0x4003c62e0 \"The bundle
\U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged
or missing necessary resources.\"}"; } Hints: None Backtrace: 0
0x00007fff945fcfaa __exceptionPreprocess (in CoreFoundation) 1
0x00007fff8c9add5e objc_exception_throw (in libobjc.A.dylib) 2
0x000000010f1b207f -[DVTExtension _fireExtensionFault] (in
DVTFoundation) 3 0x000000010f22c666
__DVTDispatchSync_block_invoke_0 (in DVTFoundation) 4 0x00007fff90a53aad _dispatch_barrier_sync_f_invoke (in
libdispatch.dylib) 5 0x000000010f22c483 DVTDispatchSync (in
DVTFoundation) 6 0x000000010f22c297 DVTSyncPerformBlock (in
DVTFoundation) 7 0x000000010f18e69b -[DVTDispatchLock
performLockedBlock:] (in DVTFoundation) 8 0x000000010f1b1e32
-[DVTExtension _valueForKey:inParameterData:usingSchema:] (in DVTFoundation) 9 0x000000010f1b1d6f -[DVTExtension valueForKey:]
(in DVTFoundation) 10 0x0000000116707322 -[DBGLLDBDebugLocalService
operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService) 11
0x0000000116cc10b8 (in IDEiPhoneSupport) 12 0x000000010f85f9d3
-[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation) 13 0x000000010f85e690 -[IDELaunchSchemeAction
runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:runDestination:outError:]
(in IDEFoundation) 14 0x000000010f85a5d0 -[IDEScheme
_executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:overridingProperties:destination:buildLog:filePath:error:testCallbackBlock:]
(in IDEFoundation) 15 0x000000010f85dc0b -[IDEScheme
runWithExecutionContext:buildIfNeeded:onlyBuild:destination:overridingProperties:commandName:error:]
(in IDEFoundation) 16 0x000000010fc8cdfc -[IDEWorkspaceTabController
_actuallyPerformContextTask:command:commandName:buildCommand:filePath:completionBlock:]
(in IDEKit) 17 0x000000010fd354aa __107-[IDEWorkspaceTabController
_performContextTask:command:commandName:buildCommand:filePath:completionBlock:]_block_invoke_0
(in IDEKit) 18 0x000000010fc8cab3 -[IDEWorkspaceTabController
_performContextTask:command:commandName:buildCommand:filePath:completionBlock:]
(in IDEKit) 19 0x000000010fd3578e __101-[IDEWorkspaceTabController
_performDebuggableContextTask:command:commandName:buildCommand:filePath:]_block_invoke_0
(in IDEKit) 20 0x00000001109e62e8 -[DVTDeveloperModeAlertHelper
_askToEnableDeveloperModeIfNecessary] (in DVTDeveloperModeHelper) 21 0x000000010fcb85aa -[IDEWorkspaceTabController
_performDebuggableContextTask:command:commandName:buildCommand:filePath:]
(in IDEKit) 22 0x000000010fcb83e5 -[IDEWorkspaceTabController
runActiveRunContext:] (in IDEKit) 23 0x00007fff945ec75d -[NSObject
performSelector:withObject:] (in CoreFoundation) 24
0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit)
25 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in
DVTKit) 26 0x000000010fbd2096 -[IDEApplication sendAction:to:from:]
(in IDEKit) 27 0x00007fff945ec75d -[NSObject
performSelector:withObject:] (in CoreFoundation) 28
0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit)
29 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in
DVTKit) 30 0x000000010fbd2096 -[IDEApplication sendAction:to:from:]
(in IDEKit) 31 0x000000010f53ea10 -[DVTDelayedMenuButtonCell
trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit) 32
0x00007fff913efbde -[NSControl mouseDown:] (in AppKit) 33
0x00007fff913ba6e0 -[NSWindow sendEvent:] (in AppKit) 34
0x00007fff9135316d -[NSApplication sendEvent:] (in AppKit) 35
0x000000010fbcddd1 -[IDEApplication sendEvent:] (in IDEKit) 36
0x00007fff912e91f2 -[NSApplication run] (in AppKit) 37
0x00007fff91567b88 NSApplicationMain (in AppKit) 38
0x000000010f188eec (in Xcode) Performing
#selector(performRunAction:) from sender
IDERunPauseContinueToolbarButton 0x401e634a0 objc[2102]: garbage
collection is ON abort() called
Hi I have the same problem and I reported to Apple, they told me is a bug and they know about it , my only way around is to change the compiler to GDB all the time, until Apple fix the bug.
I have solve the problem as bellow:may be is useful for you.I try to execute the lldb command in terminal, it got the result like that the my lldb need the python 2.7.but before,when i install the clang,the python version changed to 2.6,so i reinstall the python 2.7.my lldb worked well.
Have you upgraded to Xcode 4.6.1? If so then look for /System/Library/Frameworks/Python.framework/Versions/2.7 if there is no 2.7 reinstall Python. There is a installer at Python.org for MAC. Btw if you happen to see Current and not 2.7 remove the folder called Current. I had the LLDB problem and this is what I've done and everything worked well.
I had a same problem when Python was installed with homebrew.
I just did this:
sudo ln -s /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions /System/Library/Frameworks/Python.framework/Versions
And problem was solved.
Still isn't working for me as of Mountain Lion (10.8.2), Xcode 4.5.1, I've tried deleting and reinstalling to no avail. This isn't a huge deal to me right now as I'm still learning (did the Stanford course & doing the Big Nerd Ranch book right now) however I imagine once I start doing some team work that people won't appreciate me changing the Product Scheme over from LLDB to GDB just so I can run the simulator.

Internal Error building a FireBReath Plugin with XCODE 4.2

Hello recently I reinstalled my mac os x machine I have the following configuration:
1. Mac Os x Snow Leopard 10.6.8
2. Xcode 4.2 (4C199) for snow leopard with sdk 10.6
3. Firebreath project 1.6
4. CMAKE 2.8-8
I have created a plugIn test project,after run the prepmac.sh command everything is built ok. last I open it with XCODE and start the Build process.
after a 10 minutes a Crash error is generated in the process.
A message appears: Internal Error, XCODE encountered an internal logic error.
ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport- 928/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:4146
Details: target 'azTest' has been asked for its build context but it does not belong to a project
Object: <PBXNativeTarget: 0x200f62f00>
Method: -targetBuildContext
Thread: <NSThread: 0x2019f6fa0>{name = (null), num = 25}
Hints: None
Backtrace:
0 0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006aaa4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000116655973 -[PBXTarget targetBuildContext] (in DevToolsCore)
3 0x000000011665908d -[PBXTarget(XCBuildables) buildDidFinishWithBuildLogRecorder:] (in DevToolsCore)
4 0x00000001167e0222 -[Xcode3TargetBuildableSnapshot buildForBuilderDidFinish:] (in DevToolsCore)
5 0x000000010068997a -[IDEBuildableSnapshot performBuildForBuilder:buildCommand:buildOnlyTheseFiles:] (in IDEFoundation)
6 0x00000001005c3753 -[IDEBuilder main] (in IDEFoundation)
7 0x00007fff83a75dd0 -[__NSOperationInternal start] (in Foundation)
8 0x00007fff83b53bd5 ____NSOQSchedule_block_invoke_2 (in Foundation)
9 0x00007fff81d47d64 _dispatch_call_block_and_release (in libSystem.B.dylib)
10 0x00007fff81d262d1 _dispatch_worker_thread2 (in libSystem.B.dylib)
11 0x00007fff81d25c08 _pthread_wqthread (in libSystem.B.dylib)
12 0x00007fff81d25aa5 start_wqthread (in libSystem.B.dylib)
if I choose continue XCODE Finally crash with this detail:
objc[2341]: garbage collection is ON
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray initWithObjects:count:]: attempt to insert nil object at objects[0]'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff8628a784 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff80bd1f03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff862344d7 -[__NSPlaceholderArray initWithObjects:count:] + 407
3 CoreFoundation 0x00007fff862408e1 +[NSArray arrayWithObject:] + 49
4 DevToolsCore 0x000000011663a72e -[PBXTarget filePathForBuildableProductFileMapForWorkspaceArenaSnapshot:] + 79
5 DevToolsCore 0x000000011664f0b7 -[PBXTarget(XCBuildables) buildDidFinishWithBuildLogRecorder:] + 79
6 DevToolsCore 0x00000001167d6222 -[Xcode3TargetBuildableSnapshot buildForBuilderDidFinish:] + 99
7 IDEFoundation 0x000000010068997a -[IDEBuildableSnapshot performBuildForBuilder:buildCommand:buildOnlyTheseFiles:] + 1397
8 IDEFoundation 0x00000001005c3753 -[IDEBuilder main] + 1136
9 Foundation 0x00007fff83a75dd0 -[__NSOperationInternal start] + 681
10 Foundation 0x00007fff83b53bd5 ____NSOQSchedule_block_invoke_2 + 129
11 libSystem.B.dylib 0x00007fff81d47d64 _dispatch_call_block_and_release + 15
12 libSystem.B.dylib 0x00007fff81d262d1 _dispatch_worker_thread2 + 239
13 libSystem.B.dylib 0x00007fff81d25c08 _pthread_wqthread + 353
14 libSystem.B.dylib 0x00007fff81d25aa5 start_wqthread + 13
)
I can't get that the Building process works fine. So I decided to post here looking for help.
I have to mention that I tested the same project in another machine with MAC OS X Lion and it worked perfect.
This is less of an answer and more of a workaround; XCode 4 seems to use a ridiculously large amount of memory on any project that uses boost which includes FireBreath projects. try building from the command line with:
cmake --build path/to/build/
See if that works.

Xcode crash on archived app validation

I am trying to validate an iPhone app for submission through the organizer window in Xcode.
Xcode crashes and gives the following error message on attempting to validate:
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[ITunesSoftwareApplicationDescription applicationType]: unrecognized selector sent to instance 0x400ab34e0
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff82fd126a __exceptionPreprocess (in CoreFoundation)
1 0x00007fff841e4d5e objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff8305d4ce -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff82fbe133 ___forwarding___ (in CoreFoundation)
4 0x00007fff82fbdf48 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x000000010dcbcc9b __block_global_8 (in IDEArchivedApplicationsViewer)
6 0x00007fff82ffaed2 __NSArrayChunkIterate (in CoreFoundation)
7 0x00007fff83056491 ____NSArrayGetIndexesPassingTest_block_invoke_1 (in CoreFoundation)
8 0x00007fff895d1467 _dispatch_apply_serial (in libdispatch.dylib)
9 0x00007fff895cf9d7 _dispatch_sync_f_invoke (in libdispatch.dylib)
10 0x00007fff895d1347 dispatch_apply_f (in libdispatch.dylib)
11 0x00007fff895d1697 _dispatch_apply_slow (in libdispatch.dylib)
12 0x00007fff82fcc2d2 __NSArrayGetIndexesPassingTest (in CoreFoundation)
13 0x000000010dcbcaee __50-[AAVFetchApplicationListAssistant viewDidInstall]_block_invoke_0 (in IDEArchivedApplicationsViewer)
14 0x00007fff895cd8ba _dispatch_call_block_and_release (in libdispatch.dylib)
15 0x00007fff895ce799 _dispatch_worker_thread2 (in libdispatch.dylib)
16 0x00007fff8c7853da _pthread_wqthread (in libsystem_c.dylib)
17 0x00007fff8c786b85 start_wqthread (in libsystem_c.dylib)
Has anyone come acrss this?
I had this exact error and fixed it. it took me 1 full day with no success reading the forums, then i read ALL of apple papers on the subject (about 15-20 pages) and fixed them fairly quickly.
Your certificates are not in order. This is how its fixed: 1) have your distribution certificate available on your machine, and is selectable under code signing. (4.2.1 said distribution, and a provisioning profile that it can use. Once i fixed it, xcode stopped crashing, and validated with meaningful results.
david

Resources