-
-
Notifications
You must be signed in to change notification settings - Fork 132
Does libavdevice use AVCaptureDeviceInput? #120
Comments
|
@tanersener many thanks. I think I am using the LTS package. Do you see anything is incorrect in this?
|
Sorry, mad bad. Updated my previous comment. Unfortunately, both Anyway, since this dependency is defined on compile time, the only solution is to build parent |
@tanersener I appreciate your answer. Is there any workaround to remove it from my local package to bypass the Apple's static analysis? Apple won't let me publish the app with camera permission without the real camera functionality implemented. |
I don't know any easy workarounds unfortunately. A new I would create a local build for you to test if I had time but I'm working on a new release these days. I can't switch my test environment until my release is published. |
Hi @tanersener, any chance you would be able to take a look at the possible alternative solutions? |
@ianpark I don't know how to skip Apple's static analysis. So, the only solution I see in this case is building the parent Did you try to build it or do you want to have an easier solution? |
@tanersener Thanks for your response. I didn't try building the I think a more generic way to get rid of the camera permission would be desirable, so that everyone can get benefit from this great software. |
@ianpark Unfortunately, I don't know a more generic way. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Released in |
Description
My iOS app is rejected with the permission issue however my app does not use any camera related packages.
Digging around I found
libavdevice
contains some code accessingAVCaptureDeviceInput
which ends up with being detected by Apple's static analysis.https://developer.apple.com/library/archive/qa/qa1937/_index.html#//apple_ref/doc/uid/DTS40017549
I cannot add
NSCameraUsageDescription
to my app as it clearly does not use the camera.Expected behavior
AVCaptureDeviceInput should not be used or there needs to be an option to omit the library if possible.
Current behavior
libavdevice
contains some code accessingAVCaptureDeviceInput
which ends up with being detected by the static Apple's static analysis.https://developer.apple.com/library/archive/qa/qa1937/_index.html#//apple_ref/doc/uid/DTS40017549
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Post logs here or paste them to Ghostbin and insert the link here.
Environment
Other
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: