2012-12-12 9 views
6

C'è una quantità estrema di avvisi di debug di sistema di basso livello scaricati nel log della console di iPhone (vedi esempio sotto) in Xcode -> Organizer -> My iPhone -> Console.Come migliorare la qualità dell'output della console Xcode

Questo effettivamente annega il mio output di sviluppo. (Sto creando un'app utilizzando un framework di terze parti (non Xcode), quindi sto usando Xcode solo per visualizzare l'output della console dal telefono).

Per peggiorare le cose, il log della console dell'iPhone sembra tornare solo un giorno o qualche centinaio di righe in cima, quindi se avessi avuto un incidente ieri, sicuramente verrà sovrascritto da avvisi dettagliati di sistema quando arriverò in ufficio per il debug.

Come posso a) rimuovere le notifiche di sistema, b) estendere la lunghezza del registro, c) collegare il registro a un terminale bash in modo che possa fare "grep" su di esso, o in qualsiasi altro modo per ottenere un migliore panoramica del mio output di debug?

(ad esempio, su Android, si può fare adb logcat -s MyApp per visualizzare solo i messaggi di MyApp)

Ecco un esempio del tipo di roba che paludi registro iPhone:

Dec 12 10:11:02 installd[31] <Error>: 0x2d5000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1d59e7a0 [0x3af630f0]>{type = mutable set, count = 18, 
    entries => 
     0 : <CFString 0x3af4f9e4 [0x3af630f0]>{contents = "CFBundlePackageType"} 
     1 : <CFString 0x1d59e650 [0x3af630f0]>{contents = "BuildMachineOSBuild"} 
     2 : <CFString 0x3af50a34 [0x3af630f0]>{contents = "CFBundleResourceSpecification"} 
     3 : <CFString 0x1d5713e0 [0x3af630f0]>{contents = "DTPlatformBuild"} 
     4 : <CFString 0x3af4d784 [0x3af630f0]>{contents = "DTCompiler"} 
     5 : <CFString 0x3af4f554 [0x3af630f0]>{contents = "CFBundleSignature"} 
     6 : <CFString 0x3af50214 [0x3af630f0]>{contents = "DTSDKName"} 
     7 : <CFString 0x1d580d60 [0x3af630f0]>{contents = "NSBundleResolvedPath"} 
     8 : <CFString 0x3af4cea4 [0x3af630f0]>{contents = "UISupportedInterfaceOrientations"} 
     10 : <CFString 0x3af54e74 [0x3af630f0]>{contents = "DTXcode"} 
     13 : <CFString 0x3af54ea4 [0x3af630f0]>{contents = "CFBundleInfoDictionaryVersion"} 
     16 : <CFString 0x3af522f4 [0x3af630f0]>{contents = "CFBundleSupportedPlatforms"} 
     17 : <CFString 0x1d590660 [0x3af630f0]>{contents = "DTXcodeBuild"} 
     18 : <CFString 0x1d59af70 [0x3af630f0]>{contents = "UIStatusBarTintParameters"} 
     19 : <CFString 0x3af50e44 [0x3af630f0]>{contents = "DTPlatformVersion"} 
     20 : <CFString 0x3af53be4 [0x3af630f0]>{contents = "DTPlatformName"} 
     21 : <CFString 0x3af54c74 [0x3af630f0]>{contents = "CFBundleDevelopmentRegion"} 
     22 : <CFString 0x1d599230 [0x3af630f0]>{contents = "DTSDKBuild"} 
    } 

risposta

Problemi correlati