选中项目->target中项目名->Build Settings->Build Options中的Embedded Content Contains Swift Code改为yes
也可以直接搜索Embedded Content Contains Swift Code 然后修改
本文介绍如何在项目设置中正确配置Swift代码的嵌入选项。通过详细步骤指导读者找到并更改BuildSettings中的EmbeddedContentContainsSwiftCode选项为yes,确保Swift代码能够被正确地识别和编译。
选中项目->target中项目名->Build Settings->Build Options中的Embedded Content Contains Swift Code改为yes
也可以直接搜索Embedded Content Contains Swift Code 然后修改
4535
2283

被折叠的 条评论
为什么被折叠?