So I can have different builds without different projects?

The app has a whole intense set up for prototyping the feel of the particles system that needs to be all stripped out for release into production.

I’ve never done anything like that so a bunch of the week was spent splitting the app into builds and trouble shooting various errors that came up. (Thanks to the flock, specifically Ed.)

https://developer.apple.com/documentation/xcode/customizing-the-build-schemes-for-a-project/

Also, helpful, wrote an Enum generated picker.

//
//  EnumPicker.swift
//  DataViewer
//
//  Created by carlynorama on 8/1/22.
//
import SwiftUI

protocol PickerSuppliable:CaseIterable, Hashable {
    var menuText:String { get }
}
fileprivate enum TestEnum:PickerSuppliable{
   // var id:TestEnum { self } //, does not infact need identifiable?
    
    case yes, no, maybe
    
    var menuText: String {
        switch self {
            
        case .yes:
            return "Yes"
        case .no:
            return "No"
        case .maybe:
            return "Maybe"
        }
    }
}
struct EnumPicker<E:PickerSuppliable>: View {
    let options:[E] = E.allCases as! [E]
    @Binding var value:E

    var body: some View {
        VStack {
            VStack {
                Picker("Favorite Color", selection: $value) {
                    ForEach(options, id: \.self) { option in
                        Text(option.menuText)
                    }
                }
            }
        }
    }
}
struct EnumPicker_Previews: PreviewProvider {
    static var previews: some View {
        VStack {
            EnumPicker<TestEnum>(value: .constant(.maybe))
            //Text("Selected Item: \(value.menuText)")
        }
    }
}