#App quits on Start Recording (iOS)
1 messages · Page 1 of 1 (latest)
App quits on Start Recording (iOS)
Could you please share the crash log? Also do you reproduce the issue in our ScreenRecordingDemo scene?
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
Hm strange because I remember disabling the mic for the iphone build, but now I see it is enabled after the build, I will try a new one without the mic and I will let you know
I also get this error when building on iPhone:
/Users/petrospapadopoulos/Desktop/Pi CARD BUILDS/Build 2.1.3.test2/VoxelBusters/ScreenRecordingKit/VideoRecorder/VideoRecorder/VideoRecorder.m:10:9 'NSError+ScreenRecorderKit.h' file not found with <angled> include; use "quotes" instead
Again I got the same error even though I disabled the "Uses Microphone" in the Screen Recorder Settings:
Log:
Enable Microphone...
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
Most likely post processing issue. Do you see any errors in the unity console after making a xcode buidl?
Failed to install CocoaPods for the current user.
It will not be possible to install Cocoapods in the generated Xcode project which will result in link errors when building your application.
For more information see:
https://guides.cocoapods.org/using/getting-started.html
'gem install cocoapods --user-install' failed with code (1):
It is trying to install this CocoaPods every time I make a build, I don't know what this is
We add the entry in info.plist automatically through pur post processing scripts.
ok I added a description on Microphone Usage Description
in Unity Settings
I think this will fix it
We don't use cocoapods. You can actually set of installation in top menu bar -> Assets -> External Dependency Manager -> ios settings
Yes, but it should be added automatically 😬
I have the mic disabled though, why is it trying to access it?
Ok it works now that I added the description, but it uses the mic, even though I don't want it to use the mic
I only want the system sounds (I know that on Android we can't do that, but on iPhone it is possible right?)
Yes, mic should be off if set to false. I will cross check once
ok thank you. I tested it multiple times and it is never off
@lament pier do you have any news?