解決辦法it
(1)Product -->Scheme -->Edit Scheme -->Run -->Argumentsdi
(2)添加一個屬性值OS_ACTIVITY_MODE:disableab
clean run