TFEasyCoder icon indicating copy to clipboard operation
TFEasyCoder copied to clipboard

集成此框架后,上架会提示无效二进制。解决办法如下:

Open Dast1Woop opened this issue 8 years ago • 1 comments

苹果邮件: We have discovered one or more issues with your recent delivery for "xxAPP". To process your delivery, the following issues must be corrected:

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

解决办法:在plist中需添加如下描述: NSPhotoLibraryUsageDescription App需要您的同意,才能访问相册

大神可有其他解决方案?或则干脆去掉 UIViewController+TFKit.h 中photo相关的代码?

Dast1Woop avatar Mar 14 '17 09:03 Dast1Woop

因为框架中有调用系统相机的代码。如果你是手动导入框架的,没有用到的话可以把UIViewController+TFKit.h删掉,但是建议按苹果给的建议在plist里面做下配置,因为后期框架可能还要添加调用其他系统功能的代码,不可能每次都删框架代码的。另外,谢谢你的使用和反馈~

shmxybfq avatar Mar 14 '17 10:03 shmxybfq