Home > Mobile >  Xcode 10.1: "No such SwiftUI module"
Xcode 10.1: "No such SwiftUI module"

Time:12-24

I am using Macos Mojave and Xcode 10.1. I clone my project from github (I used Xcode 13 before) and change objectVersion to 50:

enter image description here

Then I can open this project in Xcode 10.1.

But I get an error: "No such 'SwiftUI' module"

enter image description here

What should I do to fix that?

CodePudding user response:

Hi SwiftUI was introduced with Xcode 11 See here

So Xcode 10.1 has no module SwiftUI. You need a higher Version upwards XCode11

  • Related