1 Xcode 報錯:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
意思很明了: 復制這個 key 到 info.plist ,並添加描述 e.g: 使用相機
其他的報錯可能是,訪問相冊時、使用位置信息、通訊錄時。
根據報錯提示,具體問題具體分析。