Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

@fromage-blanc

Xcode8.xのメッセージウィンドウに表示されるシステムメッセージを非表示にする【Xcode8.x】

こういうやつ↓

2016-09-07 15:28:43.759998 App[7932:128675] subsystem: com.apple.UIKit,     
category: HIDEventFiltered, enable_level: 0, persist_level: 0, 
default_ttl:     0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0,
enable_oversize: 1,   privacy_setting: 2, enable_private_data: 0
2016-09-07 15:28:43.762544 App[7932:128675] subsystem: com.apple.UIKit,     
category: HIDEventIncoming, enable_level: 0, persist_level: 0, 
default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0,    
enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
2016-09-07 15:28:43.790817 App[7932:128648] subsystem:   
com.apple.BaseBoard, category: MachPort, enable_level: 1,   
persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, 
generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0,  
enable_private_data: 0
2016-09-07 15:28:43.827962 App[7932:128496] subsystem: com.apple.UIKit,   
category: StatusBar, enable_level: 0, persist_level: 0, default_ttl: 0, 
info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, 
privacy_setting: 2, enable_private_data: 0
2016-09-07 15:28:43.998975 App[7932:128496] subsystem: 
com.apple.BackBoardServices.fence, category: App, enable_level: 1, 
persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, 
generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0,    
enable_private_data: 0

メニュー:Product → Schema → Edit Schemaと辿り、Argumentを選択。Enviroment Variables+をクリックしてOS_ACTIVITY_MODEを追加してdisableを設定する。
Common_swift.png

これでメッセージが出力されなくなります。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
2
Help us understand the problem. What are the problem?