美文网首页MacmacOSiOS
升级Xcode 11.2遇到的坑

升级Xcode 11.2遇到的坑

作者: RiberWang | 来源:发表于2019-11-12 14:16 被阅读0次

最近因为手机系统升级了最新,所以把Xcode也升级到了最新。打包上传App的时候出现以下情况:

App Store Connect Operation Error
ERROR ITMS-90534: "Invalid Toolchain. Your app was built with an unsupported version of Xcode or SDK. If you plan to submit this build to the App Store, make sure you are using the GM version of Xcode 10.1 and the SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode beta version to test your app, make sure you are using the latest supported version. For more information about supported beta versions, view the App Store Connect What's New page (https://developer.apple.com/app-store-connect/whats-new/)."

App Store Connect Operation Warning
WARNING ITMS-90703: "Deprecated Xcode Build. Due to resolved app archives issues, we have deprecated Xcode 11.2 on November 5, 2019. Download Xcode 11.2.1 or newer, rebuild your app and resubmit."

我刚更新的版本 Xcode 11.2


Xcode 11.2

目前App Store最新版是11.2,11.2.1还没有更新,只有去苹果官网下载11.2.1 GM Seed版本。

2019.11.12 17:20更
下载和安装了一天的Xcode 11.2.1后,打包问题终于解决。打包成功后,苹果发了一封邮件提示以下问题:

ITMS-90078: Missing Push Notification Entitlement** - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see [https://deve<wbr>loper.apple.<wbr>com/library/<wbr>content/docu<wbr>mentation/Ne<wbr>tworkingInte<wbr>rnet/Concept<wbr>ual/RemoteNo<wbr>tificationsP<wbr>G/HandlingRe<wbr>moteNotifica<wbr>tions.html#/<wbr>/apple_ref/d<wbr>oc/uid/TP400<wbr>08194-CH6-SW<wbr>1.](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.)

检查了一下Certificates(证书)和Identifiers(标识符)以及Profiles(描述文件),都没有问题。然后看了一下Xcode的Signing&Capabilities,Remote notifications也是勾选的,真的很奇怪。于是百度了一下,才找到原因。

解决方法:
  1. 打开Targets设置Signing&Capabilities,点击Capability


    Targets设置
  2. 找到或搜索push双击,工程目录左侧能看到证书文件说明就成功添加了推送证书


    添加推送证书

    这个推送证书很久之前就没了,不知道是不是这个版本Xcode的问题。

注意:更新完Xcode用到libstdc++.6.0.9库的一定要去添加

下载和安装可参考升级Xcode 10遇到的坑

附:iOS 13 适配要点总结

相关文章

  • 升级Xcode 11.2遇到的坑

    最近因为手机系统升级了最新,所以把Xcode也升级到了最新。打包上传App的时候出现以下情况: 我刚更新的版本 X...

  • 关于Xcode 11.2 提交App Store 报错:ERRO

    Xcode 11.2 可以称得上Xcode 版本里最短命的一个了吧? ?,最近把Xcode升级到11.2;提交Ap...

  • Xcode 11 Xib UITextView 崩溃

    Xcode 11 Xib _UITextLayoutView 崩溃 Xcode升级11.2之后,xib中使用UIT...

  • iOS12和Xcode10的坑

    每一次Xcode的升级似乎都会遇到官方留下的坑,让我们去填。今天升级到Xcode10,话不多说,填坑两个。 重复文...

  • Error Cycle inside Tools; buildi

    xcode升级遇到的那些坑 问题: 今天手滑不小心升级了xcode , 项目第一次安装在ios15.4可以正常运行...

  • Xcode10填坑

    升级Xcode10遇到的坑 1.libstdc++.6.0.9.tbd缺失 在Xcode10中取消了这个库,所以当...

  • 升级Xcode 10遇到的坑

    前言: iOS 12提升了速度和流畅性,相比上一代iOS 11,iOS 12轻扫打开相机的速度最高提升70%,键盘...

  • 2021-10-15

    升级Xcode13遇到的坑 解决记录 1.Pods/Headers/Private/Flipper-Folly/f...

  • Xcode13踩坑,iOS15适配

    Xcode13踩坑,iOS15适配 1.升级完Xcode13之后遇到滚动tableView到底部时tabbar颜色...

  • Xcode 11.2 提交报错 ERROR ITMS-90534

    Xcode 11.2 提交到app store 报90534错 这个错我升级了一下Xcode到最新版本11.2.1...

网友评论

    本文标题:升级Xcode 11.2遇到的坑

    本文链接:https://www.haomeiwen.com/subject/wyvfictx.html