【问题标题】:Xcode 8. App freeze at start(on splash screen) [duplicate]Xcode 8.应用程序在启动时冻结(在初始屏幕上)[重复]
【发布时间】:2017-02-13 06:35:07
【问题描述】:

我的应用程序在启动时冻结(在初始屏幕上),甚至在 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] 捆绑: com.aaa.bbbc,enable_level:0,persist_level:0, 传播活动: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, 隐私设置:0,启用隐私数据: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, 隐私设置:2,启用隐私数据: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, 隐私设置:2,启用隐私数据: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, 隐私设置:0,启用隐私数据:0 2016-10-04 19:31:58.183481 pillbox2 DEv[53761:2209717] 子系统:com.apple.UIKit,类别: 状态栏,enable_level:0,persist_level:0,default_ttl:0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, 隐私设置:2,启用隐私数据:0

【问题讨论】:

  • 请在发布问题之前搜索警告/错误/消息。之前已经问过这两个问题,如下面的答案所示。

标签: ios xcode8


【解决方案1】:
  1. 你可以在这里看到答案 Hide strange unwanted Xcode 8 logs

    在你的环境变量集OS_ACTIVITY_MODE = disable

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

    Radar 已发送

    Class PLBuildVersion is implemented in both frameworks

【讨论】:

    猜你喜欢
    • 2019-03-26
    • 1970-01-01
    • 1970-01-01
    • 2022-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-08
    • 2018-10-09
    相关资源
    最近更新 更多