Upgrade to Pro — share decks privately, control downloads, hide ads and more …

再現ができない?特定ができない?ZOZOTOWNアプリのトップクラッシュに立ち向かった話 /d...

chichilam86
September 18, 2021

再現ができない?特定ができない?ZOZOTOWNアプリのトップクラッシュに立ち向かった話 /dealing with top crash of zozotown app

chichilam86

September 18, 2021
Tweet

More Decks by chichilam86

Other Decks in Technology

Transcript

  1. © ZOZO Technologies, Inc. גࣜձࣾZOZOςΫϊϩδʔζ ZOZOTOWNຊ෦ɹZOZOΞϓϦ෦ ྛ ߒஐ(@chichilam86) • தࠃग़਎

    • 2019/4 ZOZOςΫϊϩδʔζʹೖࣾ • ZOZOTOWN iOSΞϓϦͷ։ൃΛ୲౰͍ͯ͠·͢ 2
  2. © ZOZO Technologies, Inc. 5 ϦχϡʔΞϧ ։ൃظ 2"ϲ݄ ؍ଌ ZOZOTOWN

    7.0.0 UIͷ࡮৽ ZOZO GLASS طଘը໘ͷ৽ػೳ௥Ճ ϦϑΝΫλϦϯά etc.
  3. © ZOZO Technologies, Inc. 10 extension UIView { func capture()

    -> UIImage? { UIGraphicsBeginImageContextWithOptions(bounds.size, false, 0) var image: UIImage? if let context = UIGraphicsGetCurrentContext() { layer.render(in: context) image = UIGraphicsGetImageFromCurrentImageContext() } UIGraphicsEndImageContext() return image } } ϏϡʔશମΛը૾ͱͯ͠ ॻ͖ग़͢ Ϋϥογϡݕ஌
  4. © ZOZO Technologies, Inc. ঎඼ৄࡉը໘ 12 UIViewControllerAnimatedTransitioning UIView.captureͰ ը૾ʹग़ྗ UIView.captureͰ

    ը૾ʹग़ྗ Ϋϥογϡݕ஌ Ϧετը໘ Ϧετը໘ ͷίϐʔ ঎඼ৄࡉը໘ ͷίϐʔ
  5. © ZOZO Technologies, Inc. 14 😇ϦχϡʔΞϧΛܴ͑ͨ Ϋϥογϡݕ஌ w ࠶ݱ͕Ͱ͖ͳ͍ w

    ಛఆ͕Ͱ͖ͳ͍ 2"νʔϜͰௐࠪɾݕূΛߦͳ͕ͬͨ࠶ݱ͕Ͱ͖ͳ͔ͬͨ ઃܭ͸վળͷ༨஍͕͋Δ͕ɺΫϥογϡͷ௚઀ͷݪҼͰ΋ͳ͍ ࣮͸ੲ͔ΒରԠʹྀ͍ۤͯͨ͠Ϋϥογϡ τοϓͰ͸ͳ͍
  6. © ZOZO Technologies, Inc. 18 Ϋϥογϡղੳ 📩ʮ࢖͍ଓ͚ΔͱΞϓϦ͕མͪΔʯͱ͍͏ϑΟʔυόοΫ ͓٬༷ͷҙݟ ࢖͑͹࢖͏΄Ͳ ϝϞϦ͕஝ੵ͍ͯ͘͠

    📈ϗʔϜը໘͕̏ͭʹͳͬͯදࣔ͢Δίϯςϯπ͕૿͑ͨ 📈֤঎඼Ϧετϖʔδ͸ҎલΑΓཁૉ͕૿͑ͨ 📈঎඼ৄࡉϖʔδ΋Ϧονʹͳͬͨ ϦχϡʔΞϧʹΑΔมߋ ϝϞϦͷফඅ্͕͕Δ ͳͥࠓ͞Βൃੜ݅਺͕૿͑ͨͷ͔🧐
  7. © ZOZO Technologies, Inc. 21 …. 5JNF .FNPSZ Ϋϥογϡ ྦྷੵϝϞϦ

    εΫϦʔϯγϣοτͷҰ࣌ϝϞϦ Ϋϥογϡղੳ Ϧετ ৄࡉ Ϧετ ৄࡉ Ϧετ ৄࡉ
  8. © ZOZO Technologies, Inc. ঎඼ৄࡉը໘ 23 UIViewControllerAnimatedTransitioning UIView.captureͰ ը૾ʹग़ྗ UIView.captureͰ

    ը૾ʹग़ྗ Ϋϥογϡݕ஌ Ϧετը໘ Ϧετը໘ ͷίϐʔ ঎඼ৄࡉը໘ ͷίϐʔ