iOS13提交版本以及遇到的问题

今天想要用Application Loader上传ipa文件,突然发现在Xcode工具中找不到Application Loader了,网上查了下才知道Xcode11更新之后就不带了,不过我们还是可以用xcrun altool 来上传ipa文件,

具体指令格式如下:

xcrun altool --upload-app -f path -u username -p password

path:ipa文件的路径

username: 你的开发账号用户名

password: 账号开启了双重认证,需要去 https://appleid.apple.com 生成一个专用密码就行了

提醒:这里会有人搞错,输入开发者证书的密码,那个不行,亲自试过 

xcrun altool --upload-app -f a/b/xxx.ipa -u xxxx@qq.com -p 生成的专用密码

 

提交以后构建显示正在处理中,等几分钟会自动消失,构建不成功

Apple发送邮件提示:

ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more 

出现原因

iOS13 将废弃 NSBluetoothPeripheralUsageDescription 替换为 NSBluetoothAlwaysUsageDescription

并且只能在info配置里面添加,不能替换,替换了之前的版本就不行了

解决方法

 在info.plist中添加新字段

 重新上传即可,这是升级之后发布的场景需要的两个大坑。希望同道者可以避开。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值