问题
I've been debugging up to 4 devices at once recently for an iOS networking project with XCode 4. Having today updated to XCode 5 to be able to build to iOS7 devices, I've found that XCode will crash when ever I try to debug a second device simultaneously. The simulator seems to debug fine while one other device is debugging however.
The crash seems to be at the point where XCode tries to launch the app on the device. XCode immediately closes, and bring up the all too familiar 'Xcode quit unexpectedly' dialogue box. There doesn't appear to be anything all that helpful in the output other than the following.
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-3532/Framework/Classes/FoundationClassCategories/DVTNSKeyValueObserving.m:427
Anyone have any clues if there's something I can do about this or do I just have to wait for an update to fix the problem?
来源:https://stackoverflow.com/questions/18916219/xcode-5-crashes-when-debugging-multiple-ios-devices