类PLBuildVersion在/ Applications

时间:2016-09-15 23:12:20

标签: ios swift swift3

为什么我会这样做?

  

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,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)

有人可以帮忙吗?

*已编辑*

我不相信开发商给出的建议,所以我一直在寻找答案。我找到了一个帖子,说明问题似乎已经被Facebook SDK所取代。但是我还没有在我的项目中安装Facebook SDK(Cocoapod),但是我使用Import Social在Twitter上分享,所以我删除了Import Social并重新运行了我的项目。

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

  

2016-09-16 11:57:41.393517 Fly App [1277:48009]子系统:   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-09-16 11:57:41.396355 Fly App [1277:48009]子系统:   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,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,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,类别: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在"走了:

  

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)。将使用两者之一。哪一个未定义。

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

2 个答案:

答案 0 :(得分:10)

它不是编译器警告,它是Objective-C运行时警告,并且它不在您控制的任何代码中。你可以安全地忽略它,因为你无法解决它。

答案 1 :(得分:-1)

NSPhotoLibraryUsageDescription $(PRODUCT_NAME)使用照片