我有Xcode 8 beta和macOS 10.12。我在Xcode 8 beta中运行了项目A.我切换回7.3并得到了这个错误。
错误:DTAssetProviderService无法使用Simulator iPhone 6s Plus'启动DTXConnection。检查系统日志中的错误。
无需重置模拟器,退出模拟器,退出xcode,重启我的macbook等都行不通。
然后我尝试了Xcode 7.3中的各种其他项目(8中没有),所有这些都得到了这个错误。
我在Xcode 8中还有其他问题,我的NSLog语句都没有打印到控制台。
编辑:我也无法在Xcode 7.3中创建全新的项目,并且在macOS 10.12下运行而不会出现该错误。
编辑2:如果我创建一个分支新的单一视图应用程序,并在NSLog(@"Hello World!");
方法中键入viewDidLoad
,我就不会向控制台获取任何日志记录语句。我得到......
2016-06-17 16:20:12.622791 MyApp[6587:98125] Created DB, header sequence number = 252
2016-06-17 16:20:12.623998 MyApp[6587:98131] bundleid: com.lwt.MyApp, enable_level: 0, persist_level: 0, propagate_with_activity: 0
2016-06-17 16:20:12.636132 MyApp[6587:98131] subsystem: com.apple.UIKit, category: HIDEvents, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-17 16:20:12.640879 MyApp[6587:98125] Created DB, header sequence number = 252
2016-06-17 16:20:12.642933 MyApp[6587:98125] Created DB, header sequence number = 252
2016-06-17 16:20:12.644489 MyApp[6587:98125] Created DB, header sequence number = 252
2016-06-17 16:20:12.650247 MyApp[6587:98125] Created DB, header sequence number = 252
2016-06-17 16:20:12.688506 MyApp[6587:98125] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-17 16:20:12.709064 MyApp[6587:98126] subsystem: com.apple.FrontBoard, category: Common, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0