无效架构 Xcode 10
Invalid architectures Xcode 10
我升级了 Xcode 10 并提交了我的应用程序。我收到一封电子邮件,说我没有更改架构设置。有效架构是 armv7 和 arm64。
App Store Connect
尊敬的开发者,
我们发现您的应用“#####!”最近交付存在一个或多个问题。请更正以下问题,然后重新上传。
无效架构 - 此应用的架构无效,可能是使用无效的构建设置或不兼容的工具构建的。尝试使用最新的 Xcode 版本重建应用程序。如果您使用第三方开发工具,请联系提供商。
此致,
App Store 团队
Xcode 10 不支持低于 8.0 的部署目标。您将需要更新部署目标,或者,如果您需要更低的目标,您可以重新安装 Xcode 9.4.1.
查看此 link
中的弃用通知弃用部分
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes!
With xcode 10:
recommend to set a deployment target of macOS 10.9 or later, or iOS 7 or later.
只需将 Deployment Target 修改为 7.0 即可解决此问题。
(测试并通过)
还有...还有更多信息。
从 Apple 获得 "Invalid architectures" 之前。
当我将 xcode 更新为 10 时。我遇到了
的编译错误
libstdc++.6 not found.
(My Deployment target is 6.0)
为了解决这个问题。我已经从 github 代表那里下载了旧的(xcode 9)libstdc++ 文件。
Apple release note 也可以解释这个错误。
So if you build for ios 6.0, recommend to use xcode 9.
otherwise
Use xcode 10 and Deployment target 7.0 or later.
我升级了 Xcode 10 并提交了我的应用程序。我收到一封电子邮件,说我没有更改架构设置。有效架构是 armv7 和 arm64。
App Store Connect
尊敬的开发者,
我们发现您的应用“#####!”最近交付存在一个或多个问题。请更正以下问题,然后重新上传。
无效架构 - 此应用的架构无效,可能是使用无效的构建设置或不兼容的工具构建的。尝试使用最新的 Xcode 版本重建应用程序。如果您使用第三方开发工具,请联系提供商。
此致,
App Store 团队
Xcode 10 不支持低于 8.0 的部署目标。您将需要更新部署目标,或者,如果您需要更低的目标,您可以重新安装 Xcode 9.4.1.
查看此 link
中的弃用通知弃用部分https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes!
With xcode 10: recommend to set a deployment target of macOS 10.9 or later, or iOS 7 or later.
只需将 Deployment Target 修改为 7.0 即可解决此问题。 (测试并通过)
还有...还有更多信息。
从 Apple 获得 "Invalid architectures" 之前。
当我将 xcode 更新为 10 时。我遇到了
libstdc++.6 not found.
(My Deployment target is 6.0)
为了解决这个问题。我已经从 github 代表那里下载了旧的(xcode 9)libstdc++ 文件。 Apple release note 也可以解释这个错误。
So if you build for ios 6.0, recommend to use xcode 9.
otherwise
Use xcode 10 and Deployment target 7.0 or later.