Open isadon opened 7 years ago
@donileo This issue is not related to GPUImageLibrary . :) its is related to iOS 10 and above where we need to add permission for camera ,Gallary ,Location in Application info.plist, if these feature are using in your application
It is related to GPUImage. Normally when including the GPUImage library various many files get included that may not be needed on a project. For example: If using only blurring for images the GPUImage files for video may be included and must be manually removed. If not removed Apple’s API usage scans will detect these video camera files and prevent from your app since you dont include permissions for video camera usage.
When importing via cocoapods GPUImageVideoCamera.h and .m is imported into the project regardless of wether it is used or not triggering this issue. Manually removing this file and its dependencies resolves the issue as clearly only images are being acted on for example.
But why you can't add NSCameraUsageDescription? The access request alert view won't show up until you use the camera.
It seems to me that GPUImage may be using some frameworks that is triggering Apple's AppStore checks to require a NSCameraUsageDescription. Is there anyway to prevent this?