遇到这个问题时的解决办法:
点击info.plist > open as > source Code > 添加一下代码在info.plist文件
<key>NSMicrophoneUsageDescription</key>
<string>Need microphone access for uploading videos</string>
<key>NSCameraUsageDescription</key>
<string>Need camera access for uploading Images</string>
<key>NSLocationUsageDescription</key>
<string>Need location access for updating nearby friends</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>This app will use your location to show you cool stuff near you.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>NeedLibrary access for uploading Images</string>
参考文章:文章链接