码迷,mamicode.com
首页 > 移动开发 > 详细

Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibr

时间:2016-10-29 22:17:40      阅读:777      评论:0      收藏:0      [点我收藏+]

标签:for   evel   title   适配   ios10   comment   build   log   desc   

网上找了一大堆,没有解决的办法 ,主要是iOS10的适配问题,info.plist里没有加对。

访问相册,我只加了

<!-- 相册 --> 
<key>NSPhotoLibraryUsageDescription</key> 
<string>App需要您的同意,才能访问相册</string> 

然后运行程序就报错了

Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibr 
解决办法 ,还得补上一个东西
<!-- 媒体资料库 --> 
<key>NSAppleMusicUsageDescription</key> 
<string>App需要您的同意,才能访问媒体资料库</string>

 






Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibr

标签:for   evel   title   适配   ios10   comment   build   log   desc   

原文地址:http://www.cnblogs.com/songxing10000/p/6011693.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!