needs -Onone Swift optimization level

Hi @all,

I get follow error: needs -Onone Swift optimization level.

how can I solve this? thank you for the help

greeting Fabian

Answered by B347 in 795016022

hi. I think you should provide more log data from the failing build process.

did you made changes in build settings about compiler optimization flags/settings? maybe overwritten by mistake some values? compare with other easypeasy sample project…any difference in build settings? same result?

check build setting: SWIFT_OPTIMIZATION_LEVEL

-Onone is to my knowledge more or less the default setting. so if missing, just create/modify the entry in the project build settings.

Accepted Answer

hi. I think you should provide more log data from the failing build process.

did you made changes in build settings about compiler optimization flags/settings? maybe overwritten by mistake some values? compare with other easypeasy sample project…any difference in build settings? same result?

check build setting: SWIFT_OPTIMIZATION_LEVEL

-Onone is to my knowledge more or less the default setting. so if missing, just create/modify the entry in the project build settings.

@B347 thank you so much :)

needs -Onone Swift optimization level
 
 
Q