【问题标题】:iOS app showing Invalid Binary Xcode 11 beta 6显示 Invalid Binary Xcode 11 beta 6 的 iOS 应用
【发布时间】:2019-08-28 10:19:53
【问题描述】:

我正在从 Xcode 11 Beta6 上传应用程序,它显示无效的二进制文件

错误是这样的:

Dear Developer,

We identified one or more issues with a recent submission for App Store review for your app, "app" 2.40 (5821). Please correct the following issues, then upload again.

ITMS-90111: Invalid Toolchain - Your app was built with a beta version of Xcode or SDK. Apps submitted to the App Store must be built with the GM version of Xcode 9 and the SDK for iOS 11, tvOS 11, watchOS 4, or macOS 10.13 or later.

谁能帮我解决这个问题?

我已经尝试了所有这些答案ERROR ITMS-90534: "Invalid Toolchain

更新

根据我尝试在 xcode 10.2 中运行我的应用程序的答案和评论,现在它向我显示这样的错误(这是因为我有一些与 iOS13 相关的固定 UI)

无法打开文档“Main.storyboard”。无法取消归档名为“collectionViewCellContentView”的元素。

【问题讨论】:

  • 使用 Xcode 11 构建的 APS 可用于 TestFlight,但无法提交审核以在 App Store 中发布。此时您必须使用 Xcode 10.2 发布应用程序。
  • @Paulw11 检查我更新的问题
  • 如果您使用过 Xcode 11 功能,那么您要么需要等到 Apple 接受 Xcode 11 构建(可能在下个月的某个时间),要么在 Xcode 11 中打开项目,删除这些功能,然后使用 Xcode 重建10.
  • @Paulw11 结帐我的答案我已经修复了它在 iOS13 内容视图中的 collectionview 中出现的问题已更改为 collectionViewCellContentView

标签: ios xcode ios13 xcode11


【解决方案1】:

在 Xcode beta 版本中,我现在在 XCode 10 版本中打开项目时,在一次屏幕中使用了集合视图,然后它在集合视图中显示问题 "collectionViewCellContentView" 我已将其重命名为 "view"

Xcode 11 Beta - UICollectionview

<collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="3lR-aq-iNR">
                                            <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                        </collectionViewCellContentView>

Xcode 10.2

<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="3lR-aq-iNR">
                                            <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
                                            <autoresizingMask key="autoresizingMask"/>
                                        </view>

【讨论】:

    【解决方案2】:

    您应该使用 Xcode 的非 beta 版本。您可以使用例如。 Xcode 10.2

    【讨论】:

    • 尝试使用旧 Xcode 重做 collectionViewCellContentView
    猜你喜欢
    • 2020-01-01
    • 2019-12-19
    • 2015-10-04
    • 2019-11-02
    • 2019-12-15
    • 2019-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多