What's going on

I'm a new developer, can anyone help me see how this goes

; OptimizationLevelError: not building -Onone

"new.app" needs -Onone Swift optimization level to use previews HumanReadableSwiftError

ProviderError: ProviderError: noPreviewInfos(runDestination: Simulator - iOS 16.0 | iphonesimulator | arm64 | iPhone 14 Pro Max | Apple Watch Ultra (49mm), thunkConfiguration: <IDEBuildOperationConfiguration buildCommand: 8, buildParameters: <IDEBuildParameters:0x600019a97d40:action=build:command=<IDEConcretePrimitiveSchemeCommand:0x600002b8de30:Run>:config=Release:dest=iPhone 14 Pro Max:arch=arm64:workspaceArena=<IDEWorkspaceArenaSnapshot: 0x6000053e89a0>: overridingProperties=( { // Preview overrides (immutable)   DSTROOT = 【𝗟𝗶𝘁𝗲𝗿𝗮𝗹𝗦𝘁𝗿𝗶𝗻𝗴:/Users/lvxuanlin/Library/Developer/Xcode/DerivedData/new-dkhbbathnilszmbgyuebypuodgki/Build/Intermediates.noindex/Previews/new/ReleaseProducts】   ENABLE_PREVIEWS = 【YES】   OBJROOT = 【𝗟𝗶𝘁𝗲𝗿𝗮𝗹𝗦𝘁𝗿𝗶𝗻𝗴:/Users/lvxuanlin/Library/Developer/Xcode/DerivedData/new-dkhbbathnilszmbgyuebypuodgki/Build/Intermediates.noindex/Previews/new/Intermediates.noindex】   SYMROOT = 【𝗟𝗶𝘁𝗲𝗿𝗮𝗹𝗦𝘁𝗿𝗶𝗻𝗴:/Users/lvxuanlin/Library/Developer/Xcode/DerivedData/new-dkhbbathnilszmbgyuebypuodgki/Build/Intermediates.noindex/Previews/new/Products】 }, ): collectBuildTimeStatistics=NO collectTimelineMetrics=NO>, executionEnvironment: Optional(<IDEExecutionEnvironment: 0x2a11ce310>), singleFileToBuild: nil, buildLog: nil, parallelizeBuildables: true, dontActuallyRunCommands: false, buildImplicitDependencies: true, skipDependencies: false, buildables: Optional([<Xcode3TargetProduct:0x600005f97f60:new.app blueprint:Xcode3Target:0x13a67a320:new>]), subsetOfBuildables: nil, buildDescriptionID: nil, scheme: Optional(IDEScheme:0x13a6efa80:'new'), schemeTask: 0, clientInfo: nil>, blueprintName: new, sourceFilePath: /Users/lvxuanlin/Desktop/desktop/new/new/New Group/FD.swift, thunkVariantSuffix: XCPREVIEW_THUNKSUFFIX)

Go to the build settings of the project and change as instructed to No Optimization:

What's going on
 
 
Q