在 Xcode 8 當(dāng)中,iOS 模擬器會(huì)輸出大量的系統(tǒng)調(diào)試數(shù)據(jù)
為了停用這個(gè)功能,打開對應(yīng)Target的scheme,定位到Run(Debug)一欄的Arguments當(dāng)中,在Environment Variables中加入OS_ACTIVITY_MODE = DISABLE這一條數(shù)據(jù),即可屏蔽模擬器輸出系統(tǒng)調(diào)試數(shù)據(jù)。