Debug configuration for Swift/SwiftUI

Answered

Is there an example config for running/debugging Swift/SwiftUI? I'm trying various examples from searching but the configurations I created are greyed out so I'm guessing I'm missing a property. I believe this is an iOS app. I also have a macOS app I want to try an edit/run with Fleet. Thanks!

Here's an example of what I'm trying:

{
   "configurations": [
      {
          "type": "xcode-app",
          "name": "Run SwiftUI tutorial",
          "buildTarget": {
              "project": "Fleet SwiftUI Tutorial",
              "target": "Fleet SwiftUI Tutorial",
          },
          "configuration": "iPhone 13 Pro Max",
      },
      
   ]
}
0
2 comments

To run and debug Android applications, you will additionally need to create a Virtual Device within Android Studio. Please see these notes on prerequisites. Can you run this device on Fleet at all?

Also, please note that two or more targets in a single Fleet KMP project is not supported right now.

0

I'm actually only working with macOS and iOS, but I'll look at the prereqs and other links, and see what I can come up with. Thanks!

0

Please sign in to leave a comment.