TFEasyCoder
TFEasyCoder copied to clipboard
集成此框架后,上架会提示无效二进制。解决办法如下:
苹果邮件: 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中需添加如下描述:
大神可有其他解决方案?或则干脆去掉 UIViewController+TFKit.h 中photo相关的代码?
因为框架中有调用系统相机的代码。如果你是手动导入框架的,没有用到的话可以把UIViewController+TFKit.h删掉,但是建议按苹果给的建议在plist里面做下配置,因为后期框架可能还要添加调用其他系统功能的代码,不可能每次都删框架代码的。另外,谢谢你的使用和反馈~