Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
4
Answers
First of all, you can try running the following commands:
After that, you have to open the "Runner.xcworkspace" on Xcode.
Verify
info.plist
iOS #
Add the following keys to your
Info.plist
file, located in<project root>/ios/Runner/Info.plist
:NSPhotoLibraryUsageDescription
– describe why your app needs permission for the photo library. This is called Privacy – Photo Library Usage Description in the visual editor.NSCameraUsageDescription
– describe why your app needs access to the camera. This is called Privacy – Camera Usage Description in the visual editor.NSMicrophoneUsageDescription
– describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy – Microphone Usage Description in the visual editorMore detail in: https://pub.dev/packages/image_picker
I know that is old topic, but i have a propossiton how you can resolve this issue .
If application is develope in Flutter, and this error occured when you opened project in XCode then you try open entire folder "ios" instead of "xcodeproj" or "xcworkspace".
The tip in the picture below.
example
I know is an old topic but could help other people. You need to change "image_picker" to "image_picker_ios" and if this doesn’t help, you can try this https://stackoverflow.com/a/72515674/11972105