Xcode - >オーガナイザ - >マイiPhone - >コンソールのiPhoneコンソールログ(下の例を参照)に、低レベルのシステムデバッグ通知がダンプされています。Xcodeコンソール出力の品質を改善する方法
これは、私自身の開発出力を効果的に排除します。 (私はサードパーティ製のフレームワーク(Xcodeではない)を使ってアプリケーションを作っているので、Xcodeを使ってコンソールからの出力を見るだけです)。
iPhoneのコンソールログは、一日で数百行にしか戻っていないようだから、昨日クラッシュした場合は、覚えている時間までに冗長なシステム通知で上書きされますデバッグのためにオフィスに送ってください。
システム通知を削除するにはどうしたらいいですか?b)ログの長さを延長する、c)ログをbash端末にパイプして、 "grep"するか、自分のデバッグ出力の概要?
(例えば、Android上で、あなたがのMyAppからのメッセージのみを表示するadb logcat -s MyApp
を行うことができます)
ここでは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"}
}