Cocos2d iphone アプリを (ビルドではなく) 実行しようとすると、突然 xcode がクラッシュします。アイデア?
(もっと明確に説明せざるを得ないので、ここにいくつかのテキストを書きます。さらにいくつかのテキスト。さらにいくつかのテキストといくつかのテキストといくつかのテキストといくつかのテキスト申し訳ありません)
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x401acf220
UserInfo: (null)
Hints:
0: Replacement view is installing: <IDELogNavigator: 0x40318bd40 representing: <DVTExtension 0x40101c980: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>
Backtrace:
0 0x00007fff8ca56faa __exceptionPreprocess (in CoreFoundation)
1 0x00007fff88514d5e objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff8cae32ae -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff8ca43e73 ___forwarding___ (in CoreFoundation)
4 0x00007fff8ca43c88 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x000000010ec1e76f -[IDELogNavigator setStateSavingSelectedObjects:] (in IDELogNavigator)
6 0x00007fff8d3e6c6a _NSSetObjectValueAndNotify (in Foundation)
7 0x000000010ec1dd77 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)
8 0x00000001083e942b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)
9 0x00000001083e91e2 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)
10 0x0000000108d0549d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)
11 0x00000001085e35f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)
12 0x00000001083ea51e DVTInvokeWithFailureHint (in DVTFoundation)
13 0x00000001085e3473 -[DVTReplacementView _setupViewController] (in DVTKit)
14 0x00000001085e3345 -[DVTReplacementView installedViewController] (in DVTKit)
15 0x0000000108d2f693 -[IDENavigatorArea currentNavigator] (in IDEKit)
16 0x0000000108d4822d -[IDENavigatorArea delegateFirstResponder] (in IDEKit)
17 0x0000000108d91946 -[IDEWorkspaceTabController _changeToNavigatorWithIdentifier:sender:] (in IDEKit)
18 0x0000000108d3f10d -[IDEShowNavigatorAlert runForEvent:inWorkspace:context:completionBlock:] (in IDEKit)
19 0x0000000108a75849 -[IDEAlertEvent runInWorkspace:context:completionBlock:] (in IDEFoundation)
20 0x0000000108d416a1 -[IDERunAlertMonitor executionStart] (in IDEKit)
21 0x00007fff8d3c3fca -[__NSObserver _doit:] (in Foundation)
22 0x00007fff8d3c3e9d __-[NSNotificationCenter addObserverForName:object:queue:usingBlock:]_block_invoke_1 (in Foundation)
23 0x00007fff8c9ffaaa _CFXNotificationPost (in CoreFoundation)
24 0x00007fff8d37ffe7 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
25 0x0000000108995240 -[IDEExecutionEnvironment setCurrentLaunchSession:] (in IDEFoundation)
26 0x0000000108994de9 -[IDEExecutionEnvironment _handleLaunchSession:stateChange:] (in IDEFoundation)
27 0x000000010898b94d -[IDEExecutionEnvironment observeValueForKeyPath:ofObject:change:context:] (in IDEFoundation)
28 0x00007fff8d3c67b2 NSKeyValueNotifyObserver (in Foundation)
29 0x00007fff8d3e78eb NSKeyValueDidChange (in Foundation)
30 0x00007fff8d39404b -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
31 0x00007fff8322a8ba _dispatch_call_block_and_release (in libdispatch.dylib)
32 0x00007fff8322bbeb _dispatch_barrier_sync_f_slow_invoke (in libdispatch.dylib)
33 0x00007fff8322c72a _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
34 0x00007fff8c9ec06c __CFRunLoopRun (in CoreFoundation)
35 0x00007fff8c9eb676 CFRunLoopRunSpecific (in CoreFoundation)
36 0x00007fff8774c31f RunCurrentEventLoopInMode (in HIToolbox)
37 0x00007fff877535c9 ReceiveNextEventCommon (in HIToolbox)
38 0x00007fff87753456 BlockUntilNextEventMatchingListInMode (in HIToolbox)
39 0x00007fff89561f5d _DPSNextEvent (in AppKit)
40 0x00007fff89561861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
41 0x00007fff8955e19d -[NSApplication run] (in AppKit)
42 0x00007fff897dcb88 NSApplicationMain (in AppKit)
43 0x00000001083b9eec (in Xcode)
解決策: プロジェクトを含むフォルダーのコピーを作成し、xcode-project ファイルを開くと、すべてが機能しました。