不支持的配置:此文件设置为针对比部署目标更旧的版本构建。功能可能有限
Unsupported Configuration: This file is set to build for a version older than the deployment target. Functionality may be limited
谁能解释这个警告?
Unsupported Configuration: This file is set to build for a version older than the deployment target. Functionality may be limited.
最初编写我的应用程序时,不支持我尝试的故事板。这使得有必要完全从代码管理多个视图,即不使用 XIB 文件。所以我的应用程序基本上使用 MultiviewAppDelegate 在使用 MultiviewViewController 的多个视图之间切换。
它最初是在 iOS 5 下编写的,现在使用 iPhone 6 Plus 运行 iOS 9 在模拟器 (9.2) 上运行。
OrdoDei helped me address a similar problem related to unused XIB files. My particular issue could be addressed 。此特定警告的大多数其他问题似乎与我的应用程序不使用的网络有关。
有没有其他人遇到过类似的问题?
打开受影响的 XIB 文件并确保 "Builds for" 设置设为上面的最小部署目标 and/or。
is correct. However, if it's still not working as , then as per this thread和我的经验,你需要重启Xcode。
这是当时 Xcode 的最新版本 (8.3.3)
如果更改最低构建目标版本或重新启动都不适合您,请尝试检查 XIB 源文件。右键单击文件→打开为→源代码。
在顶部附近寻找 <dependencies>
元素,它看起来像这样:
<dependencies>
<deployment version="2304" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
我的目标版本是 iOS 9,但纵横比限制 minToolsVersion
为 5.1。当我将其更改为 9.0 时,警告消失了。
谁能解释这个警告?
Unsupported Configuration: This file is set to build for a version older than the deployment target. Functionality may be limited.
最初编写我的应用程序时,不支持我尝试的故事板。这使得有必要完全从代码管理多个视图,即不使用 XIB 文件。所以我的应用程序基本上使用 MultiviewAppDelegate 在使用 MultiviewViewController 的多个视图之间切换。
它最初是在 iOS 5 下编写的,现在使用 iPhone 6 Plus 运行 iOS 9 在模拟器 (9.2) 上运行。
OrdoDei helped me address a similar problem related to unused XIB files. My particular issue could be addressed
有没有其他人遇到过类似的问题?
打开受影响的 XIB 文件并确保 "Builds for" 设置设为上面的最小部署目标 and/or。
这是当时 Xcode 的最新版本 (8.3.3)
如果更改最低构建目标版本或重新启动都不适合您,请尝试检查 XIB 源文件。右键单击文件→打开为→源代码。
在顶部附近寻找 <dependencies>
元素,它看起来像这样:
<dependencies>
<deployment version="2304" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
我的目标版本是 iOS 9,但纵横比限制 minToolsVersion
为 5.1。当我将其更改为 9.0 时,警告消失了。