美文网首页
Something Interesting After Upda

Something Interesting After Upda

作者: 申申申申申 | 来源:发表于2016-10-08 13:58 被阅读376次
1. 字体

更新后字体(如图1.0)变了,看着怪怪的,又特意寻找了之前的字体(如图1.1)

图1.0-SFMonoRegular

.

图1.1-MenloRegular

重新设置下即可 如图1.2

图1.2
2.控制台的许多输出

运行项目时候发现控制台输出了许多网络相关的日志 如下

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

[] tcp_connection_event_notify 5 event: TCP_CONNECTION_EVENT_CONNECTED, reason: nw_connection event, should deliver: true

[] tcp_connection_event_notify 3 event: TCP_CONNECTION_EVENT_READ_CLOSE, reason: read closed, should deliver: true

[] tcp_connection_get_statistics DNS: 47ms/49ms since start, TCP: 51ms/108ms since start, TLS: 0ms/0ms since start

[] __tcp_connection_start_block_invoke 2 sending event TCP_CONNECTION_EVENT_CONNECTED in response to state ready and error (null)

[] nw_socket_handle_socket_event Socket received WRITE_CLOSE event

...

解决方法:
在 EditScheme中 如图2.0配置
(快速进入EditScheme:按住option点击运行

Name: OS_ACTIVITY_MODE
Value: disable
图2.0

重新运行就ok

3. 权限问题

plist中 如图配置

音乐权限:Privacy - Music Usage Description
相机权限:Privacy - Camera Usage Description 
日历权限:Privacy - Calendars Usage Description 
相册权限:Privacy - Photo Library Usage Description 
蓝牙权限:Privacy - Bluetooth Peripheral Usage Description 
位置权限:Privacy - Location Usage Description
定位权限:Privacy - Location Always Usage Description 
定位权限:Privacy - Location When In Use Usage Description 
通讯录权限:Privacy - Contacts Usage Description 
麦克风权限:Privacy - Microphone Usage Description 
媒体库权限:Privacy - Media Library Usage Description
运动使用权限:Privacy - Motion Usage Description
提醒使用权限:Privacy - Reminders Usage Description
健康分享权限:Privacy - Health Share Usage Description
健康更新权限:Privacy - Health Update Usage Description
Siri使用权限:Privacy - Siri Usage Description
语音转文字权限:Privacy - Speech Recognition Usage Description 
电视供应商使用权限:Privacy - TV Provider Usage Description
视频用户账号使用权限:Privacy - Video Subscriber Account Usage Description
4. Xcode 快捷注释失效

sudo /usr/libexec/xpccachectl -> 重启


不定期更新 不合适的地方 还请指点~ 感激不尽

相关文章

网友评论

      本文标题:Something Interesting After Upda

      本文链接:https://www.haomeiwen.com/subject/hojuyttx.html