This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想在我现有的项目中添加一个 iOS 14 小部件。但我得到编译错误is only available in iOS 14.0 or newer。我的小部件目标部署目标设置为 iOS 14。主应用程序和整个项目的部署目标较低 - 12.2。该应用程序使用objective-c 和Swift。当小部件部署目标对应于iOS 14 或更高版本时,我不明白为什么会出现此错误。