Xcode8控制臺輸出問題
-
Xcode8執(zhí)行app,在app啟動時(shí)會輸出數(shù)據(jù),如圖
app啟動時(shí)終端輸出的數(shù)據(jù)
問題解決
- Edit Scheme -> Run -> Arguments -> Environment Variables
- 在Environment Variables中添加OS_ACTIVITY_MODE, value值設(shè)為disable
Edit Scheme
Environment Variables