SlideShare une entreprise Scribd logo
1  sur  67
Télécharger pour lire hors ligne
讓你 app 優雅的 crash 三部曲
Hokila

MOPCON 2013
about me
•iOS developer
•ex-outsourcing app company
•enterprise app
•Cocoaheads Taipei
•Splashtop
Before Start
Before Start
如果app不會crash的可以出去了
Before Start
如果app不會crash的可以出去了
等下的demo沒有crash 那就是失敗了
源起
我當app開發者這麼久,我發現一件
事,通常使用者不會report crash,
而是直接給一顆心評價
MOPCON 2012
直接給一顆星
直接給一顆星

直接給一顆星
直接給一顆星

直接給一顆星

直接給一顆星
直接給一顆星

直接給一顆星

直接給一顆星
拿到(很多)一顆星

•app 如果4顆星以下佔多數,那一定是哪裡錯了
拿到(很多)一顆星

•app 如果4顆星以下佔多數,那一定是哪裡錯了
•發現一顆星很多,趕快修bug上新版本洗評價
crash rate?

•official app?
•memory leak
•0.1% ~0.3%
首部曲

crash 後
首部曲

crash 後
可以不要給我一顆星嗎
怒氣發洩機制
托球給他殺
出現時機很重要
log 蒐集
crash 後

•怒氣發洩機制
•詳細log
!

•error code
正常⼈人都看不懂
error code
用文字敘述取代error code
和View 結合
demo uservoice
benefit

•許多負面評價留在app裡
•更了解user對app的觀感
•有些問題user彼此幫忙解決
crash 後

•怒氣發洩機制
•詳細log
•error code
•user feedback / forum
二部曲
crash 時
UserVoice 缺點

不是每個user 都會給comment
就是要給一顆星
不給comment /log那我就自己拿
user tracking

•google analytics
•Crittercism
•Flurry
•Mixpanel
iTune connect
official crash report
demo crashlytics
benefit

•bug很多時、找到最值得解的bug
•順便找到user最喜歡用的功能
benefit

•bug很多時、找到最值得解的bug
•順便找到user最喜歡用的功能

•提高user黏滯性
Flurry
Flurry
Flurry
•Crashlytics
•Flurry
•Crittercism ($)
•TestFlight
•Google Analytics
•Bugsense ($)
•自己做的
Debug Debug:Crash Report與各種常見疑難雜症
https://speakerdeck.com/zonble/debug-debug

catch exception
https://github.com/Hokila/LetMeCrash
Debug Debug:Crash Report與各種常見疑難雜症
https://speakerdeck.com/zonble/debug-debug

catch exception
https://github.com/Hokila/LetMeCrash

Let’s demo
最後一部曲
crash 前
首先我們要知道 app開發流程
cost/time consumption

contribute

sales

(UX)

UI

(SA) PM backEnd

mobile

client
要面對的問題

•app 賣不賣 / 有不有趣
•performance issue
•security issue
要面對的問題

•app 賣不賣 / 有不有趣
•performance issue
•security issue
iOS app security:analyze and defense
http://www.slideshare.net/hokilaj/ios-app-security
crash 前

•想想spec
•記得寫防禦程式,最好有alert
•除了依靠QA 外也要寫test code
•最常錯的是...
API verify

•testbed
•固定去看看api是否健在
•static query?
•問題都是出在access到不存在的資料
So

•後:crash 沒關係、不要給我一顆星就好
•中:要crash得有意義 (log、user tracking、feedback)
•前:做盡一切保護,避免crash
Thanks &Bye~~
Hokila	

!

mail
blog
FB

hokila.jan@splashtop.com	

josihokila.blogspot.com	

fb.me/hokilaj
Thanks &Bye~~
Hokila	

!

mail
blog
FB

hokila.jan@splashtop.com	

josihokila.blogspot.com	

fb.me/hokilaj

Contenu connexe

Plus de Hokila Jan

Unit Test 最後一哩路
Unit Test 最後一哩路Unit Test 最後一哩路
Unit Test 最後一哩路Hokila Jan
 
Refactor code to testable
 Refactor code to testable Refactor code to testable
Refactor code to testableHokila Jan
 
Tracking Event validator
Tracking Event validatorTracking Event validator
Tracking Event validatorHokila Jan
 
Preparation for wwdc and not waste it
Preparation for wwdc and not waste itPreparation for wwdc and not waste it
Preparation for wwdc and not waste itHokila Jan
 
Third party module strategy
Third party module strategyThird party module strategy
Third party module strategyHokila Jan
 
SwiftyJSON 慘痛經驗
SwiftyJSON   慘痛經驗SwiftyJSON   慘痛經驗
SwiftyJSON 慘痛經驗Hokila Jan
 
IAP auto renewable in practice
IAP auto renewable  in practiceIAP auto renewable  in practice
IAP auto renewable in practiceHokila Jan
 
How to cheat jb detector and detect cheating
How to cheat jb detector and detect cheatingHow to cheat jb detector and detect cheating
How to cheat jb detector and detect cheatingHokila Jan
 
進擊的帳單
進擊的帳單進擊的帳單
進擊的帳單Hokila Jan
 
iOS app security
iOS app security  iOS app security
iOS app security Hokila Jan
 
接案公司的日子
接案公司的日子接案公司的日子
接案公司的日子Hokila Jan
 
快思慢想Ch13 14
快思慢想Ch13 14快思慢想Ch13 14
快思慢想Ch13 14Hokila Jan
 
從Scrum到放棄scrum
從Scrum到放棄scrum從Scrum到放棄scrum
從Scrum到放棄scrumHokila Jan
 
快思慢想讀書會Ch9 10
快思慢想讀書會Ch9 10快思慢想讀書會Ch9 10
快思慢想讀書會Ch9 10Hokila Jan
 

Plus de Hokila Jan (14)

Unit Test 最後一哩路
Unit Test 最後一哩路Unit Test 最後一哩路
Unit Test 最後一哩路
 
Refactor code to testable
 Refactor code to testable Refactor code to testable
Refactor code to testable
 
Tracking Event validator
Tracking Event validatorTracking Event validator
Tracking Event validator
 
Preparation for wwdc and not waste it
Preparation for wwdc and not waste itPreparation for wwdc and not waste it
Preparation for wwdc and not waste it
 
Third party module strategy
Third party module strategyThird party module strategy
Third party module strategy
 
SwiftyJSON 慘痛經驗
SwiftyJSON   慘痛經驗SwiftyJSON   慘痛經驗
SwiftyJSON 慘痛經驗
 
IAP auto renewable in practice
IAP auto renewable  in practiceIAP auto renewable  in practice
IAP auto renewable in practice
 
How to cheat jb detector and detect cheating
How to cheat jb detector and detect cheatingHow to cheat jb detector and detect cheating
How to cheat jb detector and detect cheating
 
進擊的帳單
進擊的帳單進擊的帳單
進擊的帳單
 
iOS app security
iOS app security  iOS app security
iOS app security
 
接案公司的日子
接案公司的日子接案公司的日子
接案公司的日子
 
快思慢想Ch13 14
快思慢想Ch13 14快思慢想Ch13 14
快思慢想Ch13 14
 
從Scrum到放棄scrum
從Scrum到放棄scrum從Scrum到放棄scrum
從Scrum到放棄scrum
 
快思慢想讀書會Ch9 10
快思慢想讀書會Ch9 10快思慢想讀書會Ch9 10
快思慢想讀書會Ch9 10
 

Dernier

IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...
IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...
IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...schonejummy
 
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...daisycvs
 
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。nani260565
 
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...cytotecshop6
 
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...daisycvs
 
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...fionamali24
 
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...schonejummy
 
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...ramacollinz
 
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...ramacollinz
 
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.fionamali24
 
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.zuhaibhaideri99
 
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...schonejummy
 
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》powerdd
 
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVC
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVCHi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVC
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVCschonejummy
 

Dernier (14)

IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...
IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...
IN Port Alfred [[[[WhatsApp (((+27632505360))) *____**)) ABORTION PILLS FOR S...
 
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...
Abortion Pills for sale in Ajman (UAE) ((+27.7377;58;557) Abortion Pills / Cy...
 
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。
cs代写服务如何收费?坚持高性价比的服务宗旨 ,满足更多留学生的CS作业代写需求,为大家提供最合理的代写价格。
 
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...
ABORTION PILLS IN AL WAKRAH《@௵+971523788684௵》CYTOTEC TABLETS FOR SALE IN DOHA...
 
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...
Where to buy(^^+27737758557** Abortion Pills in Dubai/UAE/ Abudhabi/Fujairah ...
 
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...
Abortion in AL AIN*%UAE^*[☎️+971523788684**]]@ @# Abortion pills for sale in ...
 
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...
Al Doha +971552965071 Abortion Pills in Doha Qatar Al Wakrah misoprostol/cyto...
 
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...
Secunda +27<~>0632505360 Abortion Pills Around Embalenhle Approved Safe 4 Ter...
 
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...
ABORTION PILLS IN BADPLAAS [(+27632505360 BUY CYTOTEC PILLS IN BADPLAAS/ABORT...
 
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.
Kuwait City₩Kit【+971523788684】彡 ௹#Abortion Pills For sale In Kuwait City.
 
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.
IN MUSCAT & OMAN 🏥[^(+968_76875161*))☎️)¥) LEGIT Cytotec Pills.
 
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...
Bulawayo +27632505360 Abortion Pills in Bulawayo Harare Cytotec/Misoprostol i...
 
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》
《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》《段永平(投資的本質)》
 
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVC
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVCHi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVC
Hi 00971552965071 ABORTION PILLS IN Marina Palm Jumeirah JVC
 

讓你的App優雅的crash三部曲