简体   繁体   English

在 Xcode 12 上构建,显示“Any iOS Device(armv7, arm64)”

[英]Build on Xcode 12 showing 'Any iOS Device(armv7, arm64)'

I migrated my existing project to Xcode12.我将现有项目迁移到 Xcode12。 I had to remove VALID_ARCHS from Build Settings.我不得不从构建设置中删除VALID_ARCHS And added arm64 for Excluded Architecture ( Any iOS simulator SDK ).并为Excluded ArchitectureAny iOS simulator SDK )添加了arm64 Then I am able to run app on iOS14 simulator.然后我就可以在 iOS14 模拟器上运行应用程序了。

But now while creating archive it is showing.但是现在在创建存档时它正在显示。

Any iOS Device(armv7, arm64)

Please refer this screenshot.请参阅此屏幕截图。

在此处输入图片说明

In previous Xcode it was showing Generic iOS Device在以前的 Xcode 中,它显示了Generic iOS Device

Does this mean app will not support all iOS Phones?这是否意味着应用程序将不支持所有 iOS 手机?

To my knowledge, this has been updated in the latest Xcode.据我所知,这已在最新的 Xcode 中更新。 The previous one (11.XX) was with Generic IOS device , however this version has it written as Any IOS device .前一个 (11.XX) 是Generic IOS device ,但是这个版本将它写为Any IOS device So it is indexed capable of running on all devices with the correct IOS installed.因此,它被编入索引,能够在安装了正确 IOS 的所有设备上运行。 See here my screenshot看这里我的截图

Any_IOS_device

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM