Xcode 8.应用程序冻结开始时(在启动画面上)

时间:2016-10-04 23:47:01

标签: ios xcode8

我的应用程序在启动时(在启动画面上)冻结,甚至在didFinishLaunchingWithOptions之前。

可能对我有帮助的2个问题:

1-为什么我在控制台上都有这些日志,我是否有设置激活以获取更多日志?

2 - 如何解决此警告:

  

类PLBuildVersion在两者中实现   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices   (0x116979910)和   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices   (0x1167a3210)。将使用两者之一。哪一个未定义。

下面是控制台上显示的内容:

  

objc [53761]:类PLBuildVersion在两者中实现   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices   (0x116979910)和   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices   (0x1167a3210)。将使用两者之一。哪一个未定义。   2016-10-04 19:31:58.143719 p2 DEv [53761:2209717] bundleid:   com.aaa.bbbc,enable_level:0,persist_level:0,   propagate_with_activity:0 2016-10-04 19:31:58.144379 p2   DEv [53761:2209717]子系统:com.apple.siri,类别:意图,   enable_level:1,persist_level:1,default_ttl:0,info_ttl:0,   debug_ttl:0,generate_symptoms:0,enable_oversize:0,   privacy_setting:0,enable_private_data:0 2016-10-04 19:31:58.151113   p2 DEv [53761:2209790]子系统:com.apple.UIKit,类别:   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-10-04 19:31:58.154913   p2 DEv [53761:2209790]子系统:com.apple.UIKit,类别:   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-10-04 19:31:58.165802   p2 DEv [53761:2209789]子系统:com.apple.BaseBoard,类别:   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-10-04 19:31:58.183481   pillbox2 DEv [53761:2209717]子系统:com.apple.UIKit,类别:   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

1 个答案:

答案 0 :(得分:1)

  1. 你可以在这里看到答案 Hide strange unwanted Xcode 8 logs

      

    在您的环境变量集OS_ACTIVITY_MODE = disable

  2. PLBuildVersion在这两个框架中定义,但似乎不是你的错。

      已发送

    Radar

    Class PLBuildVersion is implemented in both frameworks