Swift 2.3不支持核心数据代码生成(Core Data code generation is not supported for Swift 2.3)

编程入门 行业动态 更新时间:2024-10-28 02:35:33
Swift 2.3不支持核心数据代码生成(Core Data code generation is not supported for Swift 2.3)

我在我的应用程序中使用CoreData。 我在Xcode 8中使用它之前它工作正常,但突然它给我这个错误。 我试着寻找答案,但没有得到任何东西,看看一个错误:Swift 2.3不支持核心数据代码生成这个答案,但没有解决我的问题。 如果有人可以帮忙。 谢谢。

I am using CoreData in my application. I was using it in Xcode 8 before it works fine but suddenly its throwing me this error. I tried searching for answer but not getting anything and took a look at a Error: Core Data Code generation is not supported for Swift 2.3 this answer but not solved my problem. If anyone could help. Thank you.

最满意答案

在数据模型检查器中,将模块更改为当前产品模块 ,将Codegen更改为手动/无 。 这解决了我的问题。

In Data Model Inspector change the Module to Current Product Module and Codegen to Manual/None. This solved my problem.

更多推荐

本文发布于:2023-04-27 20:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329024.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不支持   核心   代码   数据   Swift

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!