2016年9月19日月曜日

変なメッセージ:Xcode8でまだ出るまだ出る…

余計なメッセージを出さないような設定にしても出ちゃうメッセージを載せてく。

Painter Z index: (でかい数値) is too large (max 255)

iOS10シミューレタ、iOS9シミュレータ、XcodeからビルドしたiPad実機で確認
Painter Z index: 4294967169 is too large (max 255)Painter Z index: 4294967199 is too large (max 255)Painter Z index: 4294967170 is too large (max 255)Painter Z index: 4294967170 is too large (max 255)Painter Z index: 4294967169 is too large (max 255)Painter Z index: 4294967169 is too large (max 255)Painter Z index: 4294967170 is too large (max 255)Painter Z index: 4294967199 is too large (max 255)Painter Z index: 4294967199 is too large (max 255)Painter Z index: 4294967170 is too large (max 255)
MKMapViewを表示してると出る。
特にPinを刺し、ある一定以上地図をズームしてる時に、以下のようにずらずらと出る。
Paintっていうからには画面描画の塗りのことかね?
んで、Z indexっていうんだから、X軸、Y軸じゃなくてZ軸の値で。
つまりは地図を表示する過程で妙な値をMKMapViewに渡してしまい、MKMapView側が「デカすぎんぞ!」って警告してるんだと思う。
つまりは俺は悪くない! 悪いのはきっとXcode!

きっとXcode8のバグの一種で、普段なら問題なく、表示されないような些細なメッセージが出ちゃってるんだろう。
追々出ないようになるんじゃないスか?

warning: section "__textcoal_nt" is deprecated

warning: section "__const_coal" is deprecated

それまで出なかったのに、審査に出そうと思ってアーカイブしたら出たWarning。
以下のようなメッセージがいっぱい出てる。
warning: section "__textcoal_nt" is deprecated
        .section __TEXT, __textcoal_nt, coalesced, pure_instructions
                 ^      ~~~~~~~~~~~~~~
note: change section name to "__text"
        .section __TEXT, __textcoal_nt, coalesced, pure_instructions
                 ^      ~~~~~~~~~~~~~~
warning: section "__const_coal" is deprecated
        .section __TEXT, __const_coal, coalesced
                 ^      ~~~~~~~~~~~~~
note: change section name to "__const"
        .section __TEXT, __const_coal, coalesced
                 ^      ~~~~~~~~~~~~~
deprecatedってことは、バージョンが上がって非推奨のやり方になったよってことだけど、どこの何が非推奨なのかてんでわかんないっス。
まあWarningだから無視しとく。(^◇^)ハハハハ。

0 件のコメント:

コメントを投稿