IOS编译QT文件遇到的问题

1.缺少描述性提示
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSBluetoothAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.

这里提示NSBluetoothAlwaysUsageDescription 没有描述,打开编译好的info.plist文件添加下面两行

NSBluetoothPeripheralUsageDescription
需要在打印的时候访问蓝牙功能

看清楚提示如果缺少其他key,可以按照这种方式添加

你可能感兴趣的:(QT,qt,ios)