- こんな感じのエラーが出て、objectが見えず、デバックがしずらかった
error: Couldn't materialize struct: size of variable <varName> disagrees with the ValueObject's size Errored out in Execute, couldn't PrepareToExecuteJITExpression
-
この二つの設定を確認する
- Build Settingの
Strip debug symbols during copy
をYES
にする - Build Settingの
Optimization Level
をNone
にする
- Build Settingの
ConfigurationsにDebugとRelease以外にも追加した時にデフォルトの設定がDegugと同じでないために起きる問題みたい。