类 PLBuildVersion 在两者/应用程序中实现 [英] Class PLBuildVersion is implemented in both/Applications

查看:16
本文介绍了类 PLBuildVersion 在两者/应用程序中实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我会得到这个?

objc[3993]: PLBuildVersion 类在两者中都实现/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices(0x112bb0910) 和/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices(0x1129da210).将使用两者之一.哪个是不确定的.2016-09-15 19:06:45.101896 Fly App[3993:92356] 子系统:com.apple.UIKit,类别:HIDEventFiltered,启用级别: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-15 19:06:45.108211 Fly App[3993:92356]子系统: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-09-15 19:06:45.118565 Fly App[3993:92353]子系统:com.apple.BaseBoard,类别:MachPort,启用级别: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-15 19:06:45.153130 Fly App[3993:92250]子系统:com.apple.UIKit,类别:状态栏,启用级别: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-15 19:06:45.537455 Fly App[3993:92250]子系统:com.apple.BackBoardServices.fence,类别:App,enable_level: 1,persist_level: 0, default_ttl: 0, info_ttl: 0,debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0,隐私设置:0,启用隐私数据:0

objc[3993]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x112bb0910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1129da210). One of the two will be used. Which one is undefined. 2016-09-15 19:06:45.101896 Fly App[3993:92356] 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-15 19:06:45.108211 Fly App[3993:92356] 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-15 19:06:45.118565 Fly App[3993:92353] 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-15 19:06:45.153130 Fly App[3993:92250] 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-15 19:06:45.537455 Fly App[3993:92250] 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

有什么特别的原因吗?(直到今天更新 xcode 后才发生,并将我的项目更新为 swift 3)

Any reasons in particular? (It never happened before until today after updated xcode, and updated my project to swift 3)

有人可以帮忙吗?

* 已编辑 *

我不相信其他开发人员提供的建议,所以我一直在四处寻找答案.我发现一个帖子说这个问题似乎是由 Facebook SDK 解决的.但是我还没有在我的项目中安装 Facebook SDK (Cocoapod),但是我使用导入社交在 Twitter 上分享,所以我删除了导入社交并再次运行我的项目.

I'm not convinced on the suggestions given by fellow developers so I've kept looking around for an answer. I've found a thread that says that the problem seems to have been cased by the Facebook SDK. However I haven't installed the Facebook SDK (Cocoapod) yet on my project, however I'm using the Import Social to share on Twitter, so I removed the Import Social and the ran my project again.

这次我在调试器上没有得到相同的输出,而是得到了这个:

This time I didn't get the same Output on the debugger, I got this instead:

2016-09-16 11:57:41.393517 Fly App[1277:48009] 子系统:com.apple.UIKit,类别:HIDEventFiltered,启用级别: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-16 11:57:41.393517 Fly App[1277:48009] 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-16 11:57:41.396355 Fly App[1277:48009] 子系统:com.apple.UIKit,类别:HIDEventIncoming,启用级别: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-16 11:57:41.396355 Fly App[1277:48009] 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-16 11:57:41.411055 Fly App[1277:48006] 子系统:com.apple.BaseBoard,类别:MachPort,启用级别: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-16 11:57:41.411055 Fly App[1277:48006] 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-16 11:57:41.426085 Fly App[1277:47901] 子系统:com.apple.UIKit,类别:状态栏,启用级别:0,持久级别: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-16 11:57:41.426085 Fly App[1277:47901] 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-16 11:57:41.946193 Fly App[1277:47901] 子系统:com.apple.BackBoardServices.fence,类别:应用程序,启用级别: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-16 11:57:41.946193 Fly App[1277:47901] 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

所以类 PLBuildVersion 在两者中实现"消失了:

So the "Class PLBuildVersion is implemented in both" is gone:

objc[3993]: PLBuildVersion 类在两者中都实现/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices(0x112bb0910) 和/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices(0x1129da210).将使用两者之一.哪个是未定义的.

objc[3993]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x112bb0910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1129da210). One of the two will be used. Which one is undefined.

我仍然不知道这一切意味着什么.有没有人找到解决这个问题的方法?

I still don't know what all this means. Has anyone found something to solve this issue?

推荐答案

它不是编译器警告,而是 Objective-C 运行时警告,并且不在您控制的任何代码中.您可以放心地忽略它,因为您无法修复它.

Its not a compiler warning, its an Objective-C runtime warning, and it is not in any code that you control. You can safely ignore it, as you cannot fix it.

这篇关于类 PLBuildVersion 在两者/应用程序中实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆