1、Invalid bundle display name - " app名字" starts with a whitespace character.
报错原因:app名字前有空格,去掉就好了
2、build 版本号重复
3、info.plist缺少一些权限设置
直接在Info.plist添加以下内容
<key>NSAppleMusicUsageDescriptionkey>
<string>是否允许此App使用苹果音乐?string>
<key>NSBluetoothPeripheralUsageDescriptionkey>
<string>是否许允此App使用蓝牙?string>
<key>NSCalendarsUsageDescriptionkey>
<string>是否允许此App使用日历?string>
<key>NSCameraUsageDescriptionkey>
<string>是否许允此App使用相机?string>
<key>NSContactsUsageDescriptionkey>
<string>是否允许此App访问您的通讯录?string>
<key>NSLocationAlwaysUsageDescriptionkey>
<string>是否允许此App访问您的地理位置?string>
<key>NSLocationWhenInUseUsageDescriptionkey>
<string>是否允许此App访问您的地理位置?string>
<key>NSMicrophoneUsageDescriptionkey>
<string>是否允许此App使用您的麦克风string>
<key>NSMotionUsageDescriptionkey>
<string>是否许允此App使用动作?string>
<key>NSPhotoLibraryUsageDescriptionkey>
<string>是否许允此App使用相册?string>
<key>NSSpeechRecognitionUsageDescriptionkey>
<string>是否允许此App访问您的语音识别?string>
如果还解决不了,可以查看邮箱,邮箱里会有详细报错原因
如图:
4、Values of type 'NSInteger' should not be used as format arguments...
解决办法:把所有的%zd 替换为 %ld ; eventLag 替换为 (long)eventLag
5、
以上