2017-02-02 4 views
0

からCGPostErrorのようないくつかのデバッグ情報を非表示にするには、私はそれがなかれそのように、デバッグウィンドウにエラーの多くを生産するが見つかりました:どのように私は私のプロジェクトでポッド「チャート(3.0.1)」を使用してXcodeの

Feb 2 20:03:01 KeepHealth[1641] <Error>: If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 
2017-02-02 20:03:01.470339 KeepHealth[1641:449073] CGContextAddLineToPoint: no current point. 
Feb 2 20:03:01 KeepHealth[1641] <Error>: CGContextAddLineToPoint: no current point. 
2017-02-02 20:03:01.470362 KeepHealth[1641:449073] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 
Feb 2 20:03:01 KeepHealth[1641] <Error>: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 
2017-02-02 20:03:01.470377 KeepHealth[1641:449073] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 

Feb 2 20:03:01 KeepHealth[1641] <Error>: If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 
2017-02-02 20:03:01.470393 KeepHealth[1641:449073] CGContextAddLineToPoint: no current point. 
Feb 2 20:03:01 KeepHealth[1641] <Error>: CGContextAddLineToPoint: no current point. 
2017-02-02 20:03:01.470532 KeepHealth[1641:449073] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 
Feb 2 20:03:01 KeepHealth[1641] <Error>: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. 
2017-02-02 20:03:01.470547 KeepHealth[1641:449073] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable. 

毎回この場所にはたくさんの場所がありますので、自分で作ったNSLogはほとんど見つかりません。しかし、実際には、このポッド機能はかなりうまく機能しているので、私はこの種のデバッグ情報を隠すだけでいいのですが、これを行うことはできますか?

答えて

0

は、あなたのpodfileにこれを追加し、さらにクリアランスについてpod install

platform :ios 

# ignore all warnings from all pods 
inhibit_all_warnings! 

# ignore warnings from a specific pod 
pod 'Charts (3.0.1)', :inhibit_warnings => true 

を実行thisを確認してください。

+0

いいえ、これは警告を無視しますが、デバッグ情報を非表示にすることはできません。私は間違ってあなたに150を与えるが、あなたはそれを保つことができる。 – Tinyfool

+0

私は、この賞金を有益に寄付する機会を得ることを願っています。 –

+0

:)あなたはそれをあなたが望むように扱うことができます。 – Tinyfool

関連する問題