SwiftUI工程出现这个错误 File 'ContentView.swift' is part of module 'SwiftUI'; ignoring import

因为你的项目名字名字和SwiftUI 同名,修改你的项目名字

发布了368 篇原创文章 · 获赞 22 · 访问量 20万+

猜你喜欢

转载自blog.csdn.net/BianHuanShiZhe/article/details/104394442