发布过程的问题

发布时遇到的一些问题

iOS10 之后需要添加info.plist文件配置:

1
2
3
4
5
6
7
8
9
10
     <key>NSBluetoothPeripheralUsageDescription</key> 
     <string>亲啊,打开蓝牙可以吗?</string>
     <key>NSCameraUsageDescription</key>
     <string>亲啊,打开相机可以吗?</string>
     <key>NSContactsUsageDescription</key>
     <string>亲啊,打开通讯录可以吗?</string>
     <key>NSMicrophoneUsageDescription</key>
     <string>亲啊,打开麦克风可以吗?</string>
     <key>NSPhotoLibraryUsageDescription</key>
     <string>亲啊,打开相册可以吗?</string>

若没有apple会发此邮箱:

1
2
3
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts 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.

报错:

1
2
- ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'xxxx'." 
- ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch story board in bundle 'xxxx’."

解决方案:
打开项目属性,选择“General”选项,勾选红框标注的“Requires full screen”

报错:

1
ERROR ITMS-90032:“Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':AppIcon40x40”

解决方案:
图片的问题  缺少对应的图片尺寸 需要在图片资源文件的 appicon中添加