在此链接中,我们可以找到 Apple 的声明,内容如下:
您现在可以提交利用下一版本 iOS、watchOS 和 tvOS 中强大新功能的应用程序。使用 Xcode 10 GM 种子构建您的应用程序,使用最新版本的 iOS 12、watchOS 5 和 tvOS 12 进行测试,然后提交以供审核。从 2019 年 3 月开始,所有适用于 iPhone 的新应用和应用更新(包括通用应用)都需要使用 iOS 12 SDK 构建并支持 iPhone XS Max。Apple Watch 的所有新应用程序和应用程序更新都需要使用 watchOS 5 SDK 构建并支持 Apple Watch Series 4。
我知道现在我必须将 Xcode 更新到 10.2,没关系。但我不清楚的是——新发布的最小部署目标是什么?现在我有一个应用程序,其部署目标是 iOS 9.0。我是否符合 Apple 的最新要求?我是否应该担心我的部署目标?
在网上搜索时,我发现有人提出部署目标是"latest-ios-version - 2.0 = deployment-target",但我不知道这种说法是否合法。
任何见解将不胜感激。提前致谢!
我是iOS开发的新手,我的Xcode部署目标配置为7.1版.我怎么知道它是否适用于7.0版本?
因此,当我尝试将部署目标设置为iOS 9时(实际上低于10.0),我会收到标题中所述的错误.
这里存在的问题是:
// MARK: - Core Data stack
lazy var persistentContainer: NSPersistentContainer = {
/*
The persistent container for the application. This implementation
creates and returns a container, having loaded the store for the
application to it. This property is optional since there are legitimate
error conditions that could cause the creation of the store to fail.
*/
let container = NSPersistentContainer(name: "Keebin_development_1")
container.loadPersistentStores(completionHandler: { (storeDescription, error) in
if let error = error as NSError? {
// Replace this …Run Code Online (Sandbox Code Playgroud) 我正在使用 Xcode 11.1 (11A1027) 运行 macOS Catalina 10.15
Xcode 中的 Mac 部署目标选项在我的一个项目中显示为灰色。在另一个项目中,它没有变灰并且可用。
项目A:
项目乙:
这是一个 Xcode 错误,或者我错误地配置了一些东西。