ios打包ipa 构建版本失败 打包上传 报错原因

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>

 

如果还解决不了,可以查看邮箱,邮箱里会有详细报错原因

如图:

ios打包ipa 构建版本失败 打包上传 报错原因_第1张图片

4、Values of type 'NSInteger' should not be used as format arguments...

解决办法:把所有的%zd 替换为 %ld ; eventLag 替换为 (long)eventLag

ios打包ipa 构建版本失败 打包上传 报错原因_第2张图片

 

5、

ios打包ipa 构建版本失败 打包上传 报错原因_第3张图片

ios打包ipa 构建版本失败 打包上传 报错原因_第4张图片

ios打包ipa 构建版本失败 打包上传 报错原因_第5张图片

ios打包ipa 构建版本失败 打包上传 报错原因_第6张图片ios打包ipa 构建版本失败 打包上传 报错原因_第7张图片

以上

你可能感兴趣的:(react-native)