'Image not be picked in iOS simulator MacBook Pro m1
hello every I have been working on my app with flutter language and one of the operation that the app do is allowing the user to use a camera to take a photo then I save this photo to the firebase . the problem is when I press on the button on the simulator to take a picture the app is crashed then this error appears to me in terminal (Lost connection to device.) and then a report is sending to apple from the device it self.
have you faced this problem ? please help me
Solution 1:[1]
Please make sure you add these permissions
NSPhotoLibraryUsageDescription, NSMicrophoneUsageDescription, and NSCameraUsageDescription to info.plist
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yunus Emre Çelik |
